diff options
| author | Martin KaFai Lau <[email protected]> | 2024-05-09 17:50:17 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-05-09 18:13:11 +0000 |
| commit | c0338e609e6e8aff8a7052c90cff83a6bc792ebc (patch) | |
| tree | cc617e77d1df9e0cced592a750948baec8462ad2 /tools/testing/selftests/bpf/progs/bpf_tracing_net.h | |
| parent | bpf: Avoid uninitialized value in BPF_CORE_READ_BITFIELD (diff) | |
| download | kernel-c0338e609e6e8aff8a7052c90cff83a6bc792ebc.tar.gz kernel-c0338e609e6e8aff8a7052c90cff83a6bc792ebc.zip | |
selftests/bpf: Remove bpf_tracing_net.h usages from two networking tests
This patch removes the bpf_tracing_net.h usage from the networking tests,
fib_lookup and test_lwt_redirect. Instead of using the (copied) macro
TC_ACT_SHOT and ETH_HLEN from bpf_tracing_net.h, they can directly
use the ones defined in the network header files under linux/.
Signed-off-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/bpf_tracing_net.h')
0 files changed, 0 insertions, 0 deletions
