summaryrefslogtreecommitdiffstats
path: root/net/ipv4/Makefile
diff options
context:
space:
mode:
authorLorenz Bauer <lmb@cloudflare.com>2020-03-09 12:12:37 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2020-03-09 22:34:58 +0100
commitcb21802b39632ba1fa9b31ea134d2079a47600ef (patch)
treef136611115fda88b630e6b8f3ad0363665eb61a6 /net/ipv4/Makefile
parentbpf: sockmap: Move generic sockmap hooks from BPF TCP (diff)
downloadlinux-cb21802b39632ba1fa9b31ea134d2079a47600ef.tar.xz
linux-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 <lmb@cloudflare.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20200309111243.6982-7-lmb@cloudflare.com
Diffstat (limited to 'net/ipv4/Makefile')
0 files changed, 0 insertions, 0 deletions