summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJakub Sitnicki <jakub@cloudflare.com>2020-02-18 17:10:19 +0000
committerDaniel Borkmann <daniel@iogearbox.net>2020-02-21 22:29:45 +0100
commit1d59f3bcee356caa933646dc45ff0836455535e8 (patch)
tree140c09532c45a138d3f1415f4eeb3b65765dfabd /kernel
parentc1cdf65da060a8e047a9f4433306fd6dac1f51a6 (diff)
downloadlinux-next-1d59f3bcee356caa933646dc45ff0836455535e8.tar.gz
bpf, sockmap: Let all kernel-land lookup values in SOCKMAP/SOCKHASH
Don't require the kernel code, like BPF helpers, that needs access to SOCK{MAP,HASH} map contents to live in net/core/sock_map.c. Expose the lookup operation to all kernel-land. Lookup from BPF context is not whitelisted yet. While syscalls have a dedicated lookup handler. Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20200218171023.844439-8-jakub@cloudflare.com
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions