summaryrefslogtreecommitdiffstats
path: root/net/netfilter
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-06-08 22:53:22 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2021-06-09 21:29:12 +0200
commitd4fb1f954fc7e2044b64b7d690400b99a6d5775c (patch)
treebec242a9c051784cec9ff363734917c33ab4f7d9 /net/netfilter
parent5302560bb49d38bf6e62a47c44e19ef04bd5344d (diff)
downloadlinux-d4fb1f954fc7e2044b64b7d690400b99a6d5775c.tar.gz
linux-d4fb1f954fc7e2044b64b7d690400b99a6d5775c.tar.bz2
linux-d4fb1f954fc7e2044b64b7d690400b99a6d5775c.zip
netfilter: nfnetlink_hook: add depends-on nftables
nfnetlink_hook.c: In function 'nfnl_hook_put_nft_chain_info': nfnetlink_hook.c:76:7: error: implicit declaration of 'nft_is_active' This macro is only defined when NF_TABLES is enabled. While its possible to also add an ifdef-guard, the infrastructure is currently not useful without nf_tables. Reported-by: kernel test robot <lkp@intel.com> Fixes: 252956528caa ("netfilter: add new hook nfnl subsystem") Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter')
-rw-r--r--net/netfilter/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig
index c81321372198..54395266339d 100644
--- a/net/netfilter/Kconfig
+++ b/net/netfilter/Kconfig
@@ -22,6 +22,7 @@ config NETFILTER_FAMILY_ARP
config NETFILTER_NETLINK_HOOK
tristate "Netfilter base hook dump support"
depends on NETFILTER_ADVANCED
+ depends on NF_TABLES
select NETFILTER_NETLINK
help
If this option is enabled, the kernel will include support