aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorYonghong Song <[email protected]>2023-08-22 05:00:58 +0000
committerAlexei Starovoitov <[email protected]>2023-08-22 16:43:55 +0000
commitfb30159426439bfe9a1435c0555f67201198988c (patch)
tree4acd7a9740f051b508787db0c6cf7d10bffb7ff2 /tools/perf/scripts/python/net_dropmonitor.py
parentbpf: Fix a bpf_kptr_xchg() issue with local kptr (diff)
downloadkernel-fb30159426439bfe9a1435c0555f67201198988c.tar.gz
kernel-fb30159426439bfe9a1435c0555f67201198988c.zip
selftests/bpf: Add a failure test for bpf_kptr_xchg() with local kptr
For a bpf_kptr_xchg() with local kptr, if the map value kptr type and allocated local obj type does not match, with the previous patch, the below verifier error message will be logged: R2 is of type <allocated local obj type> but <map value kptr type> is expected Without the previous patch, the test will have unexpected success. Signed-off-by: Yonghong Song <[email protected]> Acked-by: Kumar Kartikeya Dwivedi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions