aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDaniel Xu <[email protected]>2023-07-31 15:55:00 -0600
committerAlexei Starovoitov <[email protected]>2023-07-31 17:51:13 -0700
commit81584c23f249ac2d809e2f89b76a7a9a02c09d8a (patch)
tree0a0644b4dcc8d4f8f868d9195c168297dd3c045a /tools/perf/scripts/python/bin
parente99688eba2e90a600956e936bc335ece902a5d7f (diff)
netfilter: bpf: Only define get_proto_defrag_hook() if necessary
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 <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Daniel Xu <[email protected]> Link: https://lore.kernel.org/r/b128b6489f0066db32c4772ae4aaee1480495929.1690840454.git.dxu@dxuuu.xyz Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions