linux/tools/testing/selftests/net/lib
Dimitri Daskalakis e1215d1d38 selftests: drv-net: xdp: Fix register spill error with clang 20
On clang 20.1.8 the XDP program fails to load with a register spill error.
Since hdr_len is a __u32, the compiler decided it only needed the lower
32-bits of ctx->data, which later triggers the register spill verifier
error.

Suggested-by: Martin KaFai Lau <martin.lau@kernel.org>
Signed-off-by: Dimitri Daskalakis <dimitri.daskalakis1@gmail.com>
Link: https://patch.msgid.link/20251113043102.4062150-1-dimitri.daskalakis1@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-11-14 17:45:07 -08:00
..
py selftests: drv-net: update remaining Python init files 2025-10-12 19:03:53 +01:00
sh selftests: defer: Introduce DEFER_PAUSE_ON_FAIL 2025-09-11 19:02:51 -07:00
.gitignore selftests: net: move xdp_helper to net/lib 2025-04-28 15:49:10 -07:00
Makefile selftests: net: unify the Makefile formats 2025-10-06 13:14:06 -07:00
csum.c selftests: net: csum: Clean up recv_verify_packet_ipv6 2024-10-03 16:44:28 -07:00
ksft.h selftests: net: move xdp_helper to net/lib 2025-04-28 15:49:10 -07:00
xdp_dummy.bpf.c selftests: drv-net: add xdp cases for ping.py 2025-03-10 13:31:12 -07:00
xdp_helper.c selftests: net: retry when bind returns EBUSY in xdp_helper 2025-04-28 15:49:10 -07:00
xdp_native.bpf.c selftests: drv-net: xdp: Fix register spill error with clang 20 2025-11-14 17:45:07 -08:00