netfilter: fix missing dependencies for the NOTRACK target
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 2 Jan 2013 16:30:01 +0000 (16:30 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 4 Jan 2013 19:14:38 +0000 (20:14 +0100)
warning: (NETFILTER_XT_TARGET_NOTRACK) selects NETFILTER_XT_TARGET_CT which has unmet direct
+dependencies (NET && INET && NETFILTER && NETFILTER_XTABLES && NF_CONNTRACK && (IP_NF_RAW ||
+IP6_NF_RAW) && NETFILTER_ADVANCED)

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/Kconfig

index 390f96cc8ed4443fc9b53b3bce9712549105dee5..49e96df5fbc4b38e842540f65c5b23309440c597 100644 (file)
@@ -682,6 +682,9 @@ config NETFILTER_XT_TARGET_NFQUEUE
 
 config NETFILTER_XT_TARGET_NOTRACK
        tristate  '"NOTRACK" target support (DEPRECATED)'
+       depends on NF_CONNTRACK
+       depends on IP_NF_RAW || IP6_NF_RAW
+       depends on NETFILTER_ADVANCED
        select NETFILTER_XT_TARGET_CT
 
 config NETFILTER_XT_TARGET_RATEEST