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: Pravin Shelar <hidden>
Date: 2015-08-20 20:33:47

On Tue, Aug 18, 2015 at 2:12 PM, David Miller [off-list ref] wrote:
From: Pravin B Shelar <redacted>
Date: Mon, 17 Aug 2015 14:11:41 -0700
quoted
+     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);
ok.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help