aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/lib/bpf/bpf_helpers.h
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2023-03-16 22:20:09 -0700
committerAlexei Starovoitov <ast@kernel.org>2023-03-16 22:20:09 -0700
commit94bbbdfbde165820e4078ffe9a78305d556dec35 (patch)
tree72150b9a1f9a031ec812754ccf1712445093d951 /tools/lib/bpf/bpf_helpers.h
parentbpf: Remove misleading spec_v1 check on var-offset stack read (diff)
parentselftests/bpf: fix "metadata marker" getting overwritten by the netstack (diff)
downloadwireguard-linux-94bbbdfbde165820e4078ffe9a78305d556dec35.tar.xz
wireguard-linux-94bbbdfbde165820e4078ffe9a78305d556dec35.zip
Merge branch 'double-fix bpf_test_run + XDP_PASS recycling'
Alexander Lobakin says: ==================== Enabling skb PP recycling revealed a couple issues in the bpf_test_run code. Recycling broke the assumption that the headroom won't ever be touched during the test_run execution: xdp_scrub_frame() invalidates the XDP frame at the headroom start, while neigh xmit code overwrites 2 bytes to the left of the Ethernet header. The first makes the kernel panic in certain cases, while the second breaks xdp_do_redirect selftest on BE. test_run is a limited-scope entity, so let's hope no more corner cases will happen here or at least they will be as easy and pleasant to fix as those two. ==================== Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions