Thread (33 messages) 33 messages, 4 authors, 2015-08-20

Re: [PATCH net-next v2 5/9] geneve: Add support to collect tunnel metadata.

From: David Miller <davem@davemloft.net>
Date: 2015-08-18 21:12:33

From: Pravin B Shelar <redacted>
Date: Mon, 17 Aug 2015 14:11:41 -0700
+	if (tun_dst)
+		skb_dst_set(skb, (struct dst_entry *)tun_dst);
+
Please don't cast things like this, it is completely unnecessary:

	skb_dst_set(skb, &tun_dst->dst);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help