summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-04-22 10:35:44 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-04-22 18:21:05 +0300
commit6d26d985eeda89faedabbcf6607c37454b9691b0 (patch)
treefc2893074a463aa7597ce33a7bdad54829ebebad /tools
parentfbc1449d385d65be49a8d164dfd3772f2cb049ae (diff)
downloadlinux-6d26d985eeda89faedabbcf6607c37454b9691b0.tar.xz
bpf: fix link failure with NETFILTER=y INET=n
Explicitly check if NETFILTER_BPF_LINK is enabled, else configs that have NETFILTER=y but CONFIG_INET=n fail to link: > kernel/bpf/syscall.o: undefined reference to `netfilter_prog_ops' > kernel/bpf/verifier.o: undefined reference to `netfilter_verifier_ops' Fixes: fd9c663b9ad6 ("bpf: minimal support for programs hooked into netfilter framework") Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/oe-kbuild-all/202304220903.fRZTJtxe-lkp@intel.com/ Signed-off-by: Florian Westphal <fw@strlen.de> Link: https://lore.kernel.org/r/20230422073544.17634-1-fw@strlen.de Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions