[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201202123345.565657-4-jonas@norrbonn.se>
Date: Wed, 2 Dec 2020 13:33:44 +0100
From: Jonas Bonn <jonas@...rbonn.se>
To: netdev@...r.kernel.org, pablo@...filter.org
Cc: laforge@...monks.org, Jonas Bonn <jonas@...rbonn.se>
Subject: [PATCH 4/5] 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@...rbonn.se>
---
drivers/net/gtp.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/gtp.c b/drivers/net/gtp.c
index e053f86f43f3..c19465458187 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) {
--
2.27.0
Powered by blists - more mailing lists