diff options
author | Jonas Bonn <jonas@norrbonn.se> | 2021-02-03 10:08:03 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-04 20:29:58 +0300 |
commit | 70d132462998dcef701180e047c91933bda33ae2 (patch) | |
tree | 37743889c4430eb23bdfd375ab7bba640345fc93 /drivers/net/gtp.c | |
parent | a9c0df76d002111d0796cf04b5ad16f4f5a8d794 (diff) | |
download | linux-70d132462998dcef701180e047c91933bda33ae2.tar.xz |
gtp: drop unnecessary call to skb_dst_drop
The call to skb_dst_drop() is already done as part of udp_tunnel_xmit().
Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Acked-by: Harald Welte <laforge@gnumonks.org>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/gtp.c')
-rw-r--r-- | drivers/net/gtp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/gtp.c b/drivers/net/gtp.c index e4e57c0552ee..04d9de385549 100644 --- a/drivers/net/gtp.c +++ b/drivers/net/gtp.c @@ -515,8 +515,6 @@ static int gtp_build_skb_ip4(struct sk_buff *skb, struct net_device *dev, goto err_rt; } - skb_dst_drop(skb); - /* This is similar to tnl_update_pmtu(). */ df = iph->frag_off; if (df) { |