diff options
author | Björn Töpel <bjorn.topel@intel.com> | 2020-08-25 19:27:35 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2020-12-09 15:26:58 -0800 |
commit | a06316dc87bdc000f7f39a315476957af2ba0f05 (patch) | |
tree | 6d1e9914dde4ff01a0c96dd856467d35999d1bf1 /README | |
parent | 75aab4e10ae6a4593a60f66d13de755d4e91f400 (diff) |
ixgbe: avoid premature Rx buffer reuse
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")
Reported-and-analyzed-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Tested-by: Sandeep Penigalapati <sandeep.penigalapati@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions