From: Rafal Ozieblo <raf...@cadence.com> 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.