diff options
| author | Alireza Asgari <alireza@asgari.net> | 2026-09-24 13:00:25 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-29 17:11:30 -0700 |
| commit | 1221246d3bd08d8b5228777e1a9b3361ca946e64 (patch) | |
| tree | a8936974012905ffbca18a02a53b2eab8448fd39 /tools/perf/scripts/python/stackcollapse.py | |
| parent | febec6a7076499d16b37f556724a942633a270a6 (diff) | |
| download | linux-1221246d3bd08d8b5228777e1a9b3361ca946e64.tar.gz linux-1221246d3bd08d8b5228777e1a9b3361ca946e64.zip | |
selftests: net: cover UDP splice checksum fragment alignment
Exercise software UDP checksums when splice() transfers multiple pipe
fragments into a corked datagram. Use separate source pipes so short writes
cannot merge, and use odd fragment lengths to expose checksum-position
errors between fragments.
Cover IPv4, IPv6 and IPv4-mapped destinations, connected and unconnected
sockets, resident prefixes, even and odd fragment lengths, and a fragment
starting near a page boundary. Ordinary sends provide a control. Check the
complete payload and reject extra datagrams after a successful send.
Keep receive waits bounded and skip unavailable address families or pipe
capacities. The test uses only loopback sockets with ephemeral ports and
has no dependency on the application that exposed the regression.
Signed-off-by: Alireza Asgari <alireza@asgari.net>
Link: https://patch.msgid.link/20260924-fix-udp-splice-checksum-v1-2-fe61d65447a8@asgari.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
