Thread (3 messages) 3 messages, 3 authors, 2023-08-01

Re: [PATCH] netfilter: bpf: Only define get_proto_defrag_hook() if necessary

From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-08-01 01:00:31
Also in: bpf, lkml, netfilter-devel

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov [off-list ref]:

On Mon, 31 Jul 2023 15:55:00 -0600 you 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")
Reported-by: kernel test robot <redacted>
Closes: https://lore.kernel.org/oe-kbuild-all/202307291213.fZ0zDmoG-lkp@intel.com/ (local)
Signed-off-by: Daniel Xu <redacted>

[...]
Here is the summary with links:
  - netfilter: bpf: Only define get_proto_defrag_hook() if necessary
    https://git.kernel.org/bpf/bpf-next/c/81584c23f249

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help