summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGregory Bell <grbell@redhat.com>2026-04-17 18:41:22 +0300
committerAlexei Starovoitov <ast@kernel.org>2026-04-27 02:42:23 +0300
commitafb0450be061907a0f5d36bd8b010ca30eda3d3b (patch)
treeac753ac6a79cb7f8d1da236aedd1ac618f75a54a /include/linux
parentac985e7bf840e34a8dafe0808cc571fd85896c30 (diff)
downloadlinux-afb0450be061907a0f5d36bd8b010ca30eda3d3b.tar.xz
selftests/bpf: Use local type for bpf_fou_encap in test_tunnel_kern
Replace the forward-declared struct bpf_fou_encap with the existing bpf_fou_encap___local type in the bpf_skb_set_fou_encap and bpf_skb_get_fou_encap declarations. This removes the need for the forward declaration and the explicit casts at each call. Fixes: d17f9b370df6 ("selftests/bpf: Fix compilation failure when CONFIG_NET_FOU!=y") Signed-off-by: Gregory Bell <grbell@redhat.com> Link: https://lore.kernel.org/r/20260417154122.2558890-3-grbell@redhat.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions