Re: [PATCH net-next v3] cadence: Add LSO support.
From: David Miller
Date: Mon Nov 07 2016 - 20:38:54 EST
From: Rafal Ozieblo <rafalo@xxxxxxxxxxx>
Date: Fri, 4 Nov 2016 11:40:18 +0000
> + if (IPPROTO_UDP == (((struct iphdr *)skb_network_header(skb))->protocol))
This is simply "ip_hdr(skb)->protocol", please use it everywhere you
have this ugly cast thing in this change.
Thanks.