mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2026-12-06 09:58:34 +00:00
xdp_md.data is u32 in C, so ctx.data - k lowers to a 32-bit add on the loaded value, exactly as C ranks it, and the verifier rejects it: it tracks data as a packet pointer and prohibits 32-bit pointer arithmetic (observed in CI). IR and llc succeed, so the entry is at the verifier level. It flips to passing when packet-pointer fields get 64-bit pointer rank (TODO in expr_pass._descriptor). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>