aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/sock_map.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2023-03-17 13:19:20 -0700
committerAndrii Nakryiko <andrii@kernel.org>2023-03-17 15:46:02 -0700
commit95fdf6e313a981b0729886f86916190cb418b04c (patch)
treedd3fb68a821169c52d13421de0ba528db0ce70ba /net/core/sock_map.c
parentlibbpf: Introduce bpf_ksym_exists() macro. (diff)
downloadwireguard-linux-95fdf6e313a981b0729886f86916190cb418b04c.tar.xz
wireguard-linux-95fdf6e313a981b0729886f86916190cb418b04c.zip
selftests/bpf: Add test for bpf_ksym_exists().
Add load and run time test for bpf_ksym_exists() and check that the verifier performs dead code elimination for non-existing kfunc. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Reviewed-by: Martin KaFai Lau <martin.lau@kernel.org> Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20230317201920.62030-5-alexei.starovoitov@gmail.com
Diffstat (limited to 'net/core/sock_map.c')
0 files changed, 0 insertions, 0 deletions