diff options
author | 2022-07-26 14:59:23 -0700 | |
---|---|---|
committer | 2022-07-28 12:54:10 +0200 | |
commit | 51a83391d77bb0f7ff0aef06ca4c7f5aa9e80b4c (patch) | |
tree | 36686d10aaf8f1c24dac791cde91cb24e61b49dd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue (diff) | |
download | linux-dev-51a83391d77bb0f7ff0aef06ca4c7f5aa9e80b4c.tar.xz linux-dev-51a83391d77bb0f7ff0aef06ca4c7f5aa9e80b4c.zip |
net/funeth: Fix fun_xdp_tx() and XDP packet reclaim
The current implementation of fun_xdp_tx(), used for XPD_TX, is
incorrect in that it takes an address/length pair and later releases it
with page_frag_free(). It is OK for XDP_TX but the same code is used by
ndo_xdp_xmit. In that case it loses the XDP memory type and releases the
packet incorrectly for some of the types. Assorted breakage follows.
Change fun_xdp_tx() to take xdp_frame and rely on xdp_return_frame() in
reclaim.
Fixes: db37bc177dae ("net/funeth: add the data path")
Signed-off-by: Dimitris Michailidis <dmichail@fungible.com>
Link: https://lore.kernel.org/r/20220726215923.7887-1-dmichail@fungible.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions