Messages in this thread | | | From | Alexei Starovoitov <> | Date | Mon, 31 Jul 2023 17:53:29 -0700 | Subject | Re: [PATCH] netfilter: bpf: Only define get_proto_defrag_hook() if necessary |
| |
On Mon, Jul 31, 2023 at 2:55 PM Daniel Xu <dxu@dxuuu.xyz> wrote: > > Before, we were getting this warning: > > net/netfilter/nf_bpf_link.c:32:1: warning: 'get_proto_defrag_hook' defined but not used [-Wunused-function] > > Guard the definition with CONFIG_NF_DEFRAG_IPV[4|6]. > > Fixes: 91721c2d02d3 ("netfilter: bpf: Support BPF_F_NETFILTER_IP_DEFRAG in netfilter link")
since that commit is in bpf-next only please use [PATCH bpf-next] in the future to make sure BPF CI can test it.
I've applied it after manual testing, but very much prefer the automation to do it for me.
| |