projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe5d8bd
)
gtp: use skb_dst_update_pmtu_no_confirm() instead of direct call
author
Gyeongun Kang
<kyeongun15@gmail.com>
Wed, 6 Oct 2021 03:57:39 +0000
(
03:57
+0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 6 Oct 2021 14:19:37 +0000
(15:19 +0100)
skb_dst_update_pmtu_no_confirm() is a just wrapper function of
->update_pmtu(). So, it doesn't change logic
Signed-off-by: Gyeongun Kang <kyeongun15@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gtp.c
patch
|
blob
|
history
diff --git
a/drivers/net/gtp.c
b/drivers/net/gtp.c
index 30e0a10595a16d803e8c847a19c6b78301fce2e7..24e5c54d06c158fb89acc02a3e552c77fdb6ac1a 100644
(file)
--- a/
drivers/net/gtp.c
+++ b/
drivers/net/gtp.c
@@
-539,7
+539,7
@@
static int gtp_build_skb_ip4(struct sk_buff *skb, struct net_device *dev,
mtu = dst_mtu(&rt->dst);
}
-
rt->dst.ops->update_pmtu(&rt->dst, NULL, skb, mtu, false
);
+
skb_dst_update_pmtu_no_confirm(skb, mtu
);
if (!skb_is_gso(skb) && (iph->frag_off & htons(IP_DF)) &&
mtu < ntohs(iph->tot_len)) {