diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-02-28 08:55:14 -0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-02-28 08:55:15 -0800 |
| commit | 0eb5965b29989e9e593f502f7c4ef3923141adfd (patch) | |
| tree | efe2e3a637547b1c1dfb26c2e76b3f64dacafce4 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 6df0022b6cdbe31c00cf7a47addaf242a2984016 (diff) | |
| parent | f7387d6579d65efd490a864254101cb665f2e7a7 (diff) | |
Merge branch 'xsk-fixes-for-af_xdp-fragment-handling'
Nikhil P. Rao says:
====================
xsk: Fixes for AF_XDP fragment handling
This series fixes two issues in AF_XDP zero-copy fragment handling:
Patch 1 fixes a buffer leak caused by incorrect list node handling after
commit b692bf9a7543. The list_node field is now reused for both the xskb
pool list and the buffer free list. Using list_del() instead of
list_del_init() causes list_empty() checks in xp_free() to fail, preventing
buffers from being added to the free list.
Patch 2 fixes partial packet delivery to userspace. In the zero-copy path,
if the Rx queue fills up while enqueuing fragments, the remaining fragments
are dropped, causing the application to receive incomplete packets. The fix
ensures the Rx queue has sufficient space for all fragments before starting
to enqueue them.
[1] https://lore.kernel.org/oe-kbuild-all/202602051720.YfZO23pZ-lkp@intel.com/
[2] https://lore.kernel.org/oe-kbuild-all/202602172046.vf9DtpdF-lkp@intel.com/
====================
Link: https://patch.msgid.link/20260225000456.107806-1-nikhil.rao@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
