summaryrefslogtreecommitdiffstats
path: root/net/xdp/xsk_buff_pool.c
diff options
context:
space:
mode:
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>2024-01-24 20:15:52 +0100
committerAlexei Starovoitov <ast@kernel.org>2024-01-25 01:24:06 +0100
commit269009893146c495f41e9572dd9319e787c2eba9 (patch)
tree4bdc9418027ca9b29740434f7f94059e8dca6847 /net/xdp/xsk_buff_pool.c
parentriscv, bpf: Fix unpredictable kernel crash about RV64 struct_ops (diff)
downloadlinux-269009893146c495f41e9572dd9319e787c2eba9.tar.xz
linux-269009893146c495f41e9572dd9319e787c2eba9.zip
xsk: recycle buffer in case Rx queue was full
Add missing xsk_buff_free() call when __xsk_rcv_zc() failed to produce descriptor to XSK Rx queue. Fixes: 24ea50127ecf ("xsk: support mbuf on ZC RX") Acked-by: Magnus Karlsson <magnus.karlsson@intel.com> Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Link: https://lore.kernel.org/r/20240124191602.566724-2-maciej.fijalkowski@intel.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/xdp/xsk_buff_pool.c')
0 files changed, 0 insertions, 0 deletions