aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/gtp.c
diff options
context:
space:
mode:
authorGyeongun Kang <kyeongun15@gmail.com>2021-10-06 03:57:39 +0000
committerDavid S. Miller <davem@davemloft.net>2021-10-06 15:19:37 +0100
commit5b71131b795f3e1a0896bf0514fa9f9047d6a077 (patch)
tree9e9c891f287b44a2d0f5e093ab8443409c2c930f /drivers/net/gtp.c
parentnet: tg3: fix obsolete check of !err (diff)
downloadlinux-dev-5b71131b795f3e1a0896bf0514fa9f9047d6a077.tar.xz
linux-dev-5b71131b795f3e1a0896bf0514fa9f9047d6a077.zip
gtp: use skb_dst_update_pmtu_no_confirm() instead of direct call
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>
Diffstat (limited to 'drivers/net/gtp.c')
-rw-r--r--drivers/net/gtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/gtp.c b/drivers/net/gtp.c
index 30e0a10595a1..24e5c54d06c1 100644
--- 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)) {