From: Pravin B Shelar <pshe...@nicira.com>
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);
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to