[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8ec63217-2aab-b240-ce95-530e5f1c1f15@iogearbox.net>
Date: Wed, 13 Jun 2018 11:06:17 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Toshiaki Makita <makita.toshiaki@....ntt.co.jp>,
Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Cc: John Fastabend <john.fastabend@...il.com>,
intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org
Subject: Re: [PATCH net-queue] i40e: Fix incorrect skb reserved size on rx
On 06/13/2018 10:08 AM, Toshiaki Makita wrote:
> i40e_build_skb() reserves I40E_SKB_PAD + (xdp->data -
> xdp->data_hard_start) but obviously I40E_SKB_PAD is unnecessary here
> and mac_header/data feilds in skb becomes incorrect, and breaks normal
> skb receive path as well as XDP receive path.
>
> Fixes: cc5b114dcf98 ("bpf, i40e: add meta data support")
> Signed-off-by: Toshiaki Makita <makita.toshiaki@....ntt.co.jp>
Thanks Toshiaki, I sent a complete fix yesterday here:
https://lkml.org/lkml/2018/6/12/843
Cheers,
Daniel
Powered by blists - more mailing lists