> -----Original Message----- > From: Björn Töpel [mailto:[email protected]] > Sent: Tuesday, August 25, 2020 5:16 PM > To: [email protected]; [email protected] > Cc: Björn Töpel <[email protected]>; [email protected]; > [email protected]; [email protected]; > [email protected]; [email protected]; > [email protected]; Li,Rongqing <[email protected]> > Subject: [PATCH net 2/3] ixgbe: avoid premature Rx buffer reuse > > From: Björn Töpel <[email protected]> > > 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 <[email protected]>
Reported-and-analyzed-by: Li RongQing <[email protected]> Thanks -Li
