summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorNikhil P. Rao <nikhil.rao@amd.com>2026-02-25 00:00:27 +0000
committerJakub Kicinski <kuba@kernel.org>2026-02-28 08:55:11 -0800
commitf7387d6579d65efd490a864254101cb665f2e7a7 (patch)
treeefe2e3a637547b1c1dfb26c2e76b3f64dacafce4 /include/linux/i2c/git@git.tavy.me:linux.git
parent60abb0ac11dccd6b98fd9182bc5f85b621688861 (diff)
xsk: Fix zero-copy AF_XDP fragment drop
AF_XDP should ensure that only a complete packet is sent to application. In the zero-copy case, if the Rx queue gets full as fragments are being enqueued, the remaining fragments are dropped. For the multi-buffer case, add a check to ensure that the Rx queue has enough space for all fragments of a packet before starting to enqueue them. Fixes: 24ea50127ecf ("xsk: support mbuf on ZC RX") Signed-off-by: Nikhil P. Rao <nikhil.rao@amd.com> Link: https://patch.msgid.link/20260225000456.107806-3-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