mirror of
https://github.com/torvalds/linux.git
synced 2026-11-15 23:10:29 +01:00
Fix a verification failure. filter_udphdr() calls bpf_xdp_pull_data(),
which will invalidate all pkt pointers. Therefore, all ctx->data loaded
before filter_udphdr() cannot be used. Reload it to prevent verification
errors.
The error may not appear on some compiler versions if they decide to
load ctx->data after filter_udphdr() when it is first used.
Fixes:
|
||
|---|---|---|
| .. | ||
| py | ||
| sh | ||
| .gitignore | ||
| csum.c | ||
| ksft.h | ||
| Makefile | ||
| xdp_dummy.bpf.c | ||
| xdp_helper.c | ||
| xdp_native.bpf.c | ||