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 |
---|---|---|
Kconfig | -rw-r--r-- | 943 bytes |
Makefile | -rw-r--r-- | 365 bytes |
acpi.c | -rw-r--r-- | 1.2 KB |
core.c | -rw-r--r-- | 33.8 KB |
dw.c | -rw-r--r-- | 3.6 KB |
idma32.c | -rw-r--r-- | 7.4 KB |
internal.h | -rw-r--r-- | 2.5 KB |
of.c | -rw-r--r-- | 3.3 KB |
pci.c | -rw-r--r-- | 3.6 KB |
platform.c | -rw-r--r-- | 5.2 KB |
regs.h | -rw-r--r-- | 11.6 KB |
rzn1-dmamux.c | -rw-r--r-- | 4.0 KB |
Computing file changes ...