diff options
author | 2020-08-25 19:27:35 +0200 | |
---|---|---|
committer | 2020-12-09 15:26:58 -0800 | |
commit | a06316dc87bdc000f7f39a315476957af2ba0f05 (patch) | |
tree | 6d1e9914dde4ff01a0c96dd856467d35999d1bf1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i40e: avoid premature Rx buffer reuse (diff) | |
download | linux-dev-a06316dc87bdc000f7f39a315476957af2ba0f05.tar.xz linux-dev-a06316dc87bdc000f7f39a315476957af2ba0f05.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions