On Mon, 24 Feb 2020 18:46:22 +0200 Nikolay Aleksandrov <nikolay@xxxxxxxxxxxxxxxxxxx> wrote: > - eth = eth_hdr(skb); > skb_pull(skb, ETH_HLEN) you could just swap these two lines.
On Mon, 24 Feb 2020 18:46:22 +0200 Nikolay Aleksandrov <nikolay@xxxxxxxxxxxxxxxxxxx> wrote: > - eth = eth_hdr(skb); > skb_pull(skb, ETH_HLEN) you could just swap these two lines.