aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorLorenz Bauer <[email protected]>2020-03-09 11:12:37 +0000
committerDaniel Borkmann <[email protected]>2020-03-09 21:34:58 +0000
commitcb21802b39632ba1fa9b31ea134d2079a47600ef (patch)
treef136611115fda88b630e6b8f3ad0363665eb61a6 /tools/bpf/bpftool/prog.c
parentbpf: sockmap: Move generic sockmap hooks from BPF TCP (diff)
downloadkernel-cb21802b39632ba1fa9b31ea134d2079a47600ef.tar.gz
kernel-cb21802b39632ba1fa9b31ea134d2079a47600ef.zip
bpf: sockmap: Simplify sock_map_init_proto
We can take advantage of the fact that both callers of sock_map_init_proto are holding a RCU read lock, and have verified that psock is valid. Signed-off-by: Lorenz Bauer <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Jakub Sitnicki <[email protected]> Acked-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions