bpf: Allow bpf_get_netns_cookie in BPF_PROG_TYPE_SK_MSG
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: Allow bpf_get_netns_cookie in BPF_PROG_TYPE_SK_MSGnet/ | +14 | 0 replies | |
| 2/2 | selftests/bpf: Test for get_netns_cookietools/ tools/ | +88 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH bpf-next 0/2] 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.
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(-)
Signature · 1 line
2.28.0