aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2023-12-15 23:05:02 +0000
committerAndrii Nakryiko <[email protected]>2023-12-16 00:34:12 +0000
commit117211aa739a926e6555cfea883be84bee6f1695 (patch)
treee08e8f3efb34dec198c2549985e1a22fcf40a689 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parentMerge branch ' bpf fix for unconnect af_unix socket' (diff)
downloadkernel-117211aa739a926e6555cfea883be84bee6f1695.tar.gz
kernel-117211aa739a926e6555cfea883be84bee6f1695.zip
bpf: Add missing BPF_LINK_TYPE invocations
Pengfei Xu reported [1] Syzkaller/KASAN issue found in bpf_link_show_fdinfo. The reason is missing BPF_LINK_TYPE invocation for uprobe multi link and for several other links, adding that. [1] https://lore.kernel.org/bpf/[email protected]/ Fixes: 89ae89f53d20 ("bpf: Add multi uprobe link") Fixes: e420bed02507 ("bpf: Add fd-based tcx multi-prog infra with link support") Fixes: 84601d6ee68a ("bpf: add bpf_link support for BPF_NETFILTER programs") Fixes: 35dfaad7188c ("netkit, bpf: Add bpf programmable net device") Reported-by: Pengfei Xu <[email protected]> Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Tested-by: Pengfei Xu <[email protected]> Acked-by: Hou Tao <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions