aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/sock_map.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2023-03-21 13:38:52 -0700
committerAndrii Nakryiko <andrii@kernel.org>2023-03-22 09:31:05 -0700
commit1057d299459657b85e593a4b6294a000f920672a (patch)
treee962571e8ea2ef312a9b9584abac83db3ee98fa5 /net/core/sock_map.c
parentlibbpf: Rename RELO_EXTERN_VAR/FUNC. (diff)
downloadwireguard-linux-1057d299459657b85e593a4b6294a000f920672a.tar.xz
wireguard-linux-1057d299459657b85e593a4b6294a000f920672a.zip
bpf: Teach the verifier to recognize rdonly_mem as not null.
Teach the verifier to recognize PTR_TO_MEM | MEM_RDONLY as not NULL otherwise if (!bpf_ksym_exists(known_kfunc)) doesn't go through dead code elimination. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: David Vernet <void@manifault.com> Link: https://lore.kernel.org/bpf/20230321203854.3035-3-alexei.starovoitov@gmail.com
Diffstat (limited to 'net/core/sock_map.c')
0 files changed, 0 insertions, 0 deletions