diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2020-10-28 19:12:04 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-10-29 15:19:04 +0100 |
commit | 821f5c90130d15f8f725412d714d05df3b9e0fac (patch) | |
tree | 786f23257c96ff8b3d20783db2f4bffd6f77a40e /Documentation/livepatch | |
parent | samples/bpf: Set rlimit for memlock to infinity in all samples (diff) | |
download | linux-821f5c90130d15f8f725412d714d05df3b9e0fac.tar.xz linux-821f5c90130d15f8f725412d714d05df3b9e0fac.zip |
bpf: Add struct bpf_redir_neigh forward declaration to BPF helper defs
Forward-declare struct bpf_redir_neigh in bpf_helper_defs.h to avoid
compiler warning about unknown structs.
Fixes: ba452c9e996d ("bpf: Fix bpf_redirect_neigh helper api to support supplying nexthop")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/20201028181204.111241-1-andrii@kernel.org
Diffstat (limited to 'Documentation/livepatch')
0 files changed, 0 insertions, 0 deletions