diff options
| author | Alexei Starovoitov <ast@kernel.org> | 2023-03-17 08:20:09 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-17 08:20:09 +0300 |
| commit | 94bbbdfbde165820e4078ffe9a78305d556dec35 (patch) | |
| tree | 72150b9a1f9a031ec812754ccf1712445093d951 /tools/perf/scripts/python/flamegraph.py | |
| parent | 082cdc69a4651dd2a77539d69416a359ed1214f5 (diff) | |
| parent | 5640b6d894342d153b719644681b0345fd28ee96 (diff) | |
| download | linux-94bbbdfbde165820e4078ffe9a78305d556dec35.tar.xz | |
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/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
