diff options
author | Stanislav Fomichev <[email protected]> | 2021-05-14 10:05:28 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-05-20 23:48:37 +0200 |
commit | 8f1634b82189e715b0f82f16ce54fab43cfedd8a (patch) | |
tree | b06f34cd9ec54455c8dde7818323d6e9a11dc717 /tools/testing/selftests/bpf/prog_tests/ringbuf.c | |
parent | 6bdacdb48e94ff26c03c6eeeef48c03c5e2f7dd4 (diff) |
selftests/bpf: Convert static to global in tc_redirect progs
Both IFINDEX_SRC and IFINDEX_DST are set from the userspace
and it won't work once bpf merges with bpf-next.
Fixes: 096eccdef0b3 ("selftests/bpf: Rewrite test_tc_redirect.sh as prog_tests/tc_redirect.c")
Signed-off-by: Stanislav Fomichev <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/ringbuf.c')
0 files changed, 0 insertions, 0 deletions