From: Pablo Neira Ayuso Date: Wed, 28 Dec 2011 15:03:30 +0000 (+0000) Subject: netfilter: Kconfig: fix unmet xt_nfacct dependencies X-Git-Tag: MMI-PSA29.97-13-9~17755^2~85 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bc94b52167596e4f9c0a020c10e2f49b04a2e48b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git netfilter: Kconfig: fix unmet xt_nfacct dependencies 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 Signed-off-by: Pablo Neira Ayuso Acked-by: Randy Dunlap Signed-off-by: David S. Miller --- diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig index f6275a0f1ea7..f8ac4ef0b794 100644 --- a/net/netfilter/Kconfig +++ b/net/netfilter/Kconfig @@ -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