On Tue, Aug 18, 2015 at 2:12 PM, David Miller <[email protected]> wrote: > From: Pravin B Shelar <[email protected]> > 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);
ok. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
