]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
netfilter: fix missing dependencies in NETFILTER_XT_TARGET_LOG
authorPablo Neira <pablo@netfilter.org>
Tue, 2 Sep 2014 12:26:17 +0000 (14:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 20:59:54 +0000 (13:59 -0700)
make defconfig reports:

warning: (NETFILTER_XT_TARGET_LOG) selects NF_LOG_IPV6 which has unmet direct dependencies (NET && INET && IPV6 && NETFILTER && NETFILTER_ADVANCED)

Fixes: d79a61d netfilter: NETFILTER_XT_TARGET_LOG selects NF_LOG_*
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/netfilter/Kconfig

index cf0b88f30f6f259e171d3fdf9aaa71290f808156..2812816aabdc0a2918b183094ac4a119b4c0f1fa 100644 (file)
@@ -57,7 +57,7 @@ config NFT_REJECT_IPV6
 
 config NF_LOG_IPV6
        tristate "IPv6 packet logging"
-       depends on NETFILTER_ADVANCED
+       default m if NETFILTER_ADVANCED=n
        select NF_LOG_COMMON
 
 config NF_NAT_IPV6