Files
python-bpf/tests/passing_tests
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-02 03:47:26 +05:30
2026-09-23 21:05:33 +05:30
2025-10-03 17:13:02 +05:30
2025-10-03 17:13:02 +05:30
2026-08-07 17:07:32 +05:30
2025-10-02 17:57:37 +05:30