Thread (3 messages) flat view 3 messages, 2 authors, 2021-01-10

Re: [PATCH net-next v4] GTP: add support for flow based tunneling API

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-01-10 03:28:14

On Tue,  5 Jan 2021 20:45:05 -0800 Pravin B Shelar wrote:
quoted hunk ↗ jump to hunk
@@ -477,40 +572,99 @@ static int gtp_build_skb_ip4(struct sk_buff *skb, struct net_device *dev,
 			     struct gtp_pktinfo *pktinfo)
 {
 	struct gtp_dev *gtp = netdev_priv(dev);
+	struct gtpu_metadata *opts = NULL;
 	struct pdp_ctx *pctx;
 	struct rtable *rt;
 	struct flowi4 fl4;
-	struct iphdr *iph;
-	__be16 df;
+	struct sock *sk = NULL;
+	__be32 tun_id;
+	__be32 daddr;
+	__be32 saddr;
+	u8 gtp_version;
 	int mtu;
+	__u8 tos;
+	__be16 df = 0;
Please hold rev xmas tree.
quoted hunk ↗ jump to hunk
@@ -706,6 +895,7 @@ static void gtp_dellink(struct net_device *dev, struct list_head *head)
 			pdp_context_delete(pctx);
 
 	list_del_rcu(&gtp->list);
+
 	unregister_netdevice_queue(dev, head);
 }
 
Unrelated whitespace change.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help