summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorMartin KaFai Lau <martin.lau@kernel.org>2022-11-29 08:09:00 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2022-11-30 22:47:43 +0100
commit443f216448ab5ddd1b4d08ad6c9b69628ac25adf (patch)
tree15d8eb3b29571d530d412ed163bbe1083790d2df /tools/lib
parentselftests/bpf: Remove serial from tests using {open,close}_netns (diff)
downloadlinux-443f216448ab5ddd1b4d08ad6c9b69628ac25adf.tar.xz
linux-443f216448ab5ddd1b4d08ad6c9b69628ac25adf.zip
selftests/bpf: Avoid pinning prog when attaching to tc ingress in btf_skc_cls_ingress
This patch removes the need to pin prog when attaching to tc ingress in the btf_skc_cls_ingress test. Instead, directly use the bpf_tc_hook_create() and bpf_tc_attach(). The qdisc clsact will go away together with the netns, so no need to bpf_tc_hook_destroy(). Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Stanislav Fomichev <sdf@google.com> Link: https://lore.kernel.org/bpf/20221129070900.3142427-8-martin.lau@linux.dev
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions