Files
python-bpf/tests/passing_tests/vmlinux
Pragyansh Chaturvedi 6caab6f704 Tests: Rank the ctx-field case on a scalar field, not the packet pointer
xdp_md.data is a u32 in C, but the verifier tracks it as a packet
pointer and rejects 32-bit arithmetic on it: "R0 32-bit pointer
arithmetic prohibited", the same for a C program, which is why C casts
it through (void *)(long) first. The u32 ranking the test pins is the
correct one; it just has to be pinned on a field that is a scalar to the
verifier too. ingress_ifindex is.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-24 19:53:30 +05:30
..
2025-11-05 17:48:26 +05:30
2025-11-05 18:02:28 +05:30
2025-11-05 17:48:26 +05:30
2025-11-20 17:24:02 +05:30
2025-11-22 13:19:55 +05:30