summaryrefslogtreecommitdiff
path: root/kernel/debug
diff options
context:
space:
mode:
authorMichal Luczaj <mhal@rbox.co>2026-01-13 16:08:19 +0100
committerJakub Kicinski <kuba@kernel.org>2026-01-15 19:44:44 -0800
commita63e5fe0959200afcfefa7640db44c491f102c4c (patch)
treeebde86cbf17431ad1fec44fe6db2199d2de378ff /kernel/debug
parent0386bd321d0f95d041a7b3d7b07643411b044a96 (diff)
vsock/test: Add test for a linear and non-linear skb getting coalesced
Loopback transport can mangle data in rx queue when a linear skb is followed by a small MSG_ZEROCOPY packet. To exercise the logic, send out two packets: a weirdly sized one (to ensure some spare tail room in the skb) and a zerocopy one that's small enough to fit in the spare room of its predecessor. Then, wait for both to land in the rx queue, and check the data received. Faulty packets merger manifests itself by corrupting payload of the later packet. Signed-off-by: Michal Luczaj <mhal@rbox.co> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Link: https://patch.msgid.link/20260113-vsock-recv-coalescence-v2-2-552b17837cf4@rbox.co Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'kernel/debug')
0 files changed, 0 insertions, 0 deletions