aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c
diff options
context:
space:
mode:
authorAlan Maguire <[email protected]>2024-07-10 15:00:51 +0000
committerAlexei Starovoitov <[email protected]>2024-07-10 18:39:47 +0000
commiteeb23b54e447ea62b247d89681f0140abab00d7f (patch)
tree28585ec9c678fefd1bf61306ac24782ce77478b3 /tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c
parentbpf: Remove tst_run from lwt_seg6local_prog_ops. (diff)
downloadkernel-eeb23b54e447ea62b247d89681f0140abab00d7f.tar.gz
kernel-eeb23b54e447ea62b247d89681f0140abab00d7f.zip
selftests/bpf: fix compilation failure when CONFIG_NF_FLOW_TABLE=m
In many cases, kernel netfilter functionality is built as modules. If CONFIG_NF_FLOW_TABLE=m in particular, progs/xdp_flowtable.c (and hence selftests) will fail to compile, so add a ___local version of "struct flow_ports". Fixes: c77e572d3a8c ("selftests/bpf: Add selftest for bpf_xdp_flow_lookup kfunc") Signed-off-by: Alan Maguire <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c')
0 files changed, 0 insertions, 0 deletions