[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <43f838aa-b12b-63d3-400b-ef92081b355d@intel.com>
Date: Tue, 25 Aug 2020 12:00:33 +0200
From: Björn Töpel <bjorn.topel@...el.com>
To: "Li,Rongqing" <lirongqing@...du.com>,
Björn Töpel <bjorn.topel@...il.com>,
"jeffrey.t.kirsher@...el.com" <jeffrey.t.kirsher@...el.com>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
Cc: "magnus.karlsson@...el.com" <magnus.karlsson@...el.com>,
"magnus.karlsson@...il.com" <magnus.karlsson@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"maciej.fijalkowski@...el.com" <maciej.fijalkowski@...el.com>,
"piotr.raczynski@...el.com" <piotr.raczynski@...el.com>,
"maciej.machnikowski@...el.com" <maciej.machnikowski@...el.com>
Subject: Re: [PATCH net 2/3] ixgbe: avoid premature Rx buffer reuse
On 2020-08-25 11:55, Li,Rongqing wrote:
>
>
>> -----Original Message-----
>> From: Björn Töpel [mailto:bjorn.topel@...il.com]
>> Sent: Tuesday, August 25, 2020 5:16 PM
>> To: jeffrey.t.kirsher@...el.com; intel-wired-lan@...ts.osuosl.org
>> Cc: Björn Töpel <bjorn.topel@...el.com>; magnus.karlsson@...el.com;
>> magnus.karlsson@...il.com; netdev@...r.kernel.org;
>> maciej.fijalkowski@...el.com; piotr.raczynski@...el.com;
>> maciej.machnikowski@...el.com; Li,Rongqing <lirongqing@...du.com>
>> Subject: [PATCH net 2/3] ixgbe: avoid premature Rx buffer reuse
>>
>> From: Björn Töpel <bjorn.topel@...el.com>
>>
>> The page recycle code, incorrectly, relied on that a page fragment could not be
>> freed inside xdp_do_redirect(). This assumption leads to that page fragments
>> that are used by the stack/XDP redirect can be reused and overwritten.
>>
>> To avoid this, store the page count prior invoking xdp_do_redirect().
>>
>> Fixes: 6453073987ba ("ixgbe: add initial support for xdp redirect")
>> Signed-off-by: Björn Töpel <bjorn.topel@...el.com>
>
> Reported-and-analyzed-by: Li RongQing <lirongqing@...du.com>
>
Thanks Li! I should have added that. Intel-folks, please make sure Li's
tags for ixgbe/ice are added.
Björn
> Thanks
>
> -Li
>
Powered by blists - more mailing lists