Skip to content
Commit 6cf1770d authored by Xu Liu's avatar Xu Liu Committed by Daniel Borkmann
Browse files

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: default avatarXu Liu <liuxu623@gmail.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarSong Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20210818105820.91894-2-liuxu623@gmail.com
parent d20b4111
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment