diff options
| author | Martin KaFai Lau <martin.lau@kernel.org> | 2022-11-29 10:08:56 +0300 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-12-01 00:47:42 +0300 |
| commit | f1b73577bb3c5b23872fde2907386635ea726d6d (patch) | |
| tree | a67b938b2968515c7b12c84e5f399545745df295 /scripts/objdiff | |
| parent | 57d0863f1d2812da543ef49172f60d6aa14bedcf (diff) | |
| download | linux-f1b73577bb3c5b23872fde2907386635ea726d6d.tar.xz | |
selftests/bpf: Avoid pinning bpf prog in the tc_redirect_peer_l3 test
This patch removes the need to pin prog in the tc_redirect_peer_l3
test by directly using the bpf_tc_hook_create() and bpf_tc_attach().
The clsact qdisc will go away together with the test netns, so
no need to do 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-4-martin.lau@linux.dev
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
