diff options
| author | Gregory Bell <grbell@redhat.com> | 2026-04-17 18:41:21 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-04-27 02:42:22 +0300 |
| commit | ac985e7bf840e34a8dafe0808cc571fd85896c30 (patch) | |
| tree | ad8ea5cabc11d713fc4db0794e9f1d3a12bfa480 /include/uapi | |
| parent | 6c60b2dd5a7889a583389e95e79689191206f86f (diff) | |
| download | linux-ac985e7bf840e34a8dafe0808cc571fd85896c30.tar.xz | |
selftests/bpf: Use local type for flow_offload_tuple_rhash in xdp_flowtable
Define flow_offload_tuple_rhash___local and use it in place of the
forward-declared kernel type for the bpf_xdp_flow_lookup kfunc return
type and tuplehash variable. This is consistent with how
bpf_flowtable_opts___local is already handled in the same file and
avoids relying on a forward declaration of the struct.
Fixes: eeb23b54e447 ("selftests/bpf: fix compilation failure when CONFIG_NF_FLOW_TABLE=m")
Signed-off-by: Gregory Bell <grbell@redhat.com>
Link: https://lore.kernel.org/r/20260417154122.2558890-2-grbell@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
