Skip to content
Commit fab60e29 authored by Xu Liu's avatar Xu Liu Committed by Alexei Starovoitov
Browse files

bpf: Allow bpf_get_netns_cookie in BPF_PROG_TYPE_SK_MSG



We'd like to be able to identify netns from sk_msg hooks
to accelerate local process communication form different netns.

Signed-off-by: default avatarXu Liu <liuxu623@gmail.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210820071712.52852-2-liuxu623@gmail.com
parent 8c0bb89e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment