summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/perf_buffer.c
diff options
context:
space:
mode:
authorXu Liu <liuxu623@gmail.com>2021-08-18 18:58:19 +0800
committerDaniel Borkmann <daniel@iogearbox.net>2021-08-19 00:30:01 +0200
commit6cf1770d63dd2d0d0d4048e7b3ee360336c072d9 (patch)
treee7acefe8abd58d375086d7b064f2e4fedae60f04 /tools/testing/selftests/bpf/prog_tests/perf_buffer.c
parentd20b41115ad53293201cc07ee429a38740cb056b (diff)
bpf: Allow bpf_get_netns_cookie in BPF_PROG_TYPE_SOCK_OPS
We'd like to be able to identify netns from sockops hooks to accelerate local process communication form different netns. Signed-off-by: Xu Liu <liuxu623@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Song Liu <songliubraving@fb.com> Link: https://lore.kernel.org/bpf/20210818105820.91894-2-liuxu623@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/perf_buffer.c')
0 files changed, 0 insertions, 0 deletions