We'd like to be able to identify netns from sk_msg hooks to accelerate local process communication form different netns. Xu Liu (2): bpf: Allow bpf_get_netns_cookie in BPF_PROG_TYPE_SK_MSG selftests/bpf: Test for get_netns_cookie net/core/filter.c | 14 +++++ .../selftests/bpf/prog_tests/netns_cookie.c | 57 ++++++++++++------- .../selftests/bpf/progs/netns_cookie_prog.c | 55 ++++++++++++++++-- 3 files changed, 102 insertions(+), 24 deletions(-) -- 2.28.0