summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>2026-11-02 13:49:44 +0100
committerJakub Kicinski <kuba@kernel.org>2026-11-09 15:34:30 -0800
commit8b7bd01b9c56c0d1f65d0e2ad304b775e0d709e3 (patch)
tree1b409557f605b81609eaa762fd7dcb4b2fa91bc7 /scripts/const_structs.checkpatch
parenta259b7ec09efec032d5521dc2eb751a959c11d15 (diff)
ice: xsk: fix leaking Rx buffers in multi-buffer path
ice_clean_rx_irq_zc() consumes a descriptor without freeing its buffer when a frag has zero length or when xsk_buff_add_frag() fails, which happens if the frags array is full or the fill ring has duplicates. Such buffers are lost to user space until the socket is closed. Free the buffer in both cases. xp_free() skips a duplicate already freed with the frame. Fixes: 1bbc04de607b ("ice: xsk: add RX multi-buffer support") Fixes: 93f53db9f9dc ("ice: switch to Page Pool") Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Reviewed-by: Björn Töpel <bjorn@kernel.org> Link: https://patch.msgid.link/20261102124950.958345-4-maciej.fijalkowski@intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions