diff options
author | 2021-08-18 18:58:20 +0800 | |
---|---|---|
committer | 2021-08-19 00:30:14 +0200 | |
commit | 374e74de96310cc63b9e3cde876e031107e6af6c (patch) | |
tree | f1a034ada98a9d641a2b4d15d8aa5bd7e2e07bf2 /net/unix/af_unix.c | |
parent | bpf: Allow bpf_get_netns_cookie in BPF_PROG_TYPE_SOCK_OPS (diff) | |
download | wireguard-linux-374e74de96310cc63b9e3cde876e031107e6af6c.tar.xz wireguard-linux-374e74de96310cc63b9e3cde876e031107e6af6c.zip |
selftests/bpf: Test for get_netns_cookie
Add test to use get_netns_cookie() from BPF_PROG_TYPE_SOCK_OPS.
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-3-liuxu623@gmail.com
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions