]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: add cgroup_skb netns cookie tests
authorMahe Tardy <mahe.tardy@gmail.com>
Tue, 25 Feb 2025 12:50:31 +0000 (12:50 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 26 Feb 2025 15:35:51 +0000 (07:35 -0800)
commit9138048bb5899fc73cd951e8b7374351e37394d8
treefec055d46430604645ed3a2b818ce9b11e75bd90
parentc221d3744ad38a9655aba8235e1d783c6d4aed5a
selftests/bpf: add cgroup_skb netns cookie tests

Add netns cookie test that verifies the helper is now supported and work
in the context of cgroup_skb programs.

Signed-off-by: Mahe Tardy <mahe.tardy@gmail.com>
Link: https://lore.kernel.org/r/20250225125031.258740-2-mahe.tardy@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/netns_cookie.c
tools/testing/selftests/bpf/progs/netns_cookie_prog.c