Revision 51a83391d77bb0f7ff0aef06ca4c7f5aa9e80b4c authored by Dimitris Michailidis on 26 July 2022, 21:59:23 UTC, committed by Paolo Abeni on 28 July 2022, 10:54:10 UTC
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>
1 parent bf84719
File | Mode | Size |
---|---|---|
policy | ||
.gitignore | -rw-r--r-- | 71 bytes |
Kconfig | -rw-r--r-- | 3.3 KB |
Makefile | -rw-r--r-- | 810 bytes |
audit.c | -rw-r--r-- | 12.4 KB |
common.c | -rw-r--r-- | 75.8 KB |
common.h | -rw-r--r-- | 40.2 KB |
condition.c | -rw-r--r-- | 27.1 KB |
domain.c | -rw-r--r-- | 25.4 KB |
environ.c | -rw-r--r-- | 3.1 KB |
file.c | -rw-r--r-- | 29.2 KB |
gc.c | -rw-r--r-- | 16.6 KB |
group.c | -rw-r--r-- | 5.8 KB |
load_policy.c | -rw-r--r-- | 2.6 KB |
memory.c | -rw-r--r-- | 5.4 KB |
mount.c | -rw-r--r-- | 6.7 KB |
network.c | -rw-r--r-- | 21.5 KB |
realpath.c | -rw-r--r-- | 7.3 KB |
securityfs_if.c | -rw-r--r-- | 7.4 KB |
tomoyo.c | -rw-r--r-- | 15.7 KB |
util.c | -rw-r--r-- | 27.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...