netfilter: Kconfig: fix unmet xt_nfacct dependencies
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 28 Dec 2011 15:03:30 +0000 (15:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Dec 2011 19:39:19 +0000 (14:39 -0500)
warning: (NETFILTER_XT_MATCH_NFACCT) selects NETFILTER_NETLINK_ACCT which has
unmet direct dependencies (NET && INET && NETFILTER && NETFILTER_ADVANCED)

and then

ERROR: "nfnetlink_subsys_unregister" [net/netfilter/nfnetlink_acct.ko] undefined!
ERROR: "nfnetlink_subsys_register" [net/netfilter/nfnetlink_acct.ko] undefined!

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/Kconfig

index f6275a0f1ea72b9336793e42c15bb91971588c11..f8ac4ef0b7949827a49befea4fb1d6419b41fdde 100644 (file)
@@ -908,7 +908,7 @@ config NETFILTER_XT_MATCH_MULTIPORT
 
 config NETFILTER_XT_MATCH_NFACCT
        tristate '"nfacct" match support'
-       default m if NETFILTER_ADVANCED=n
+       depends on NETFILTER_ADVANCED
        select NETFILTER_NETLINK_ACCT
        help
          This option allows you to use the extended accounting through