summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/verifier.c
diff options
context:
space:
mode:
authorJakub Sitnicki <jakub@cloudflare.com>2024-05-27 13:20:08 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2024-05-27 19:34:25 +0200
commit3b9ce0491a43e9af7f108b2f1bced7cd35931660 (patch)
tree3ba3ed3599c9ad372609e9e7ffb6bf1cba40e24d /tools/testing/selftests/bpf/prog_tests/verifier.c
parentbpf: Allow delete from sockmap/sockhash only if update is allowed (diff)
downloadlinux-3b9ce0491a43e9af7f108b2f1bced7cd35931660.tar.xz
linux-3b9ce0491a43e9af7f108b2f1bced7cd35931660.zip
Revert "bpf, sockmap: Prevent lock inversion deadlock in map delete elem"
This reverts commit ff91059932401894e6c86341915615c5eb0eca48. This check is no longer needed. BPF programs attached to tracepoints are now rejected by the verifier when they attempt to delete from a sockmap/sockhash maps. Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20240527-sockmap-verify-deletes-v1-2-944b372f2101@cloudflare.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/verifier.c')
0 files changed, 0 insertions, 0 deletions