[PATCH nftables] netfilter: nf_tables: fix unmet dependencies in nf_tables_inet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



warning: (NF_TABLES_INET) selects NF_TABLES_IPV6 which has unmet direct dependencies (NET && NETFILTER && INET && IPV6 && NF_TABLES)
warning: (NF_TABLES_INET) selects NF_TABLES_IPV6 which has unmet direct dependencies (NET && NETFILTER && INET && IPV6 && NF_TABLES)

Fix it by replacing 'selects' by depends on' as in other NF_TABLES_*
configuration options.

Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
---
 net/netfilter/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig
index 37d2092..2421b9b 100644
--- a/net/netfilter/Kconfig
+++ b/net/netfilter/Kconfig
@@ -430,8 +430,8 @@ config NF_TABLES
 
 config NF_TABLES_INET
 	depends on NF_TABLES
-	select NF_TABLES_IPV4
-	select NF_TABLES_IPV6
+	depends on NF_TABLES_IPV4
+	depends on NF_TABLES_IPV6
 	tristate "Netfilter nf_tables mixed IPv4/IPv6 tables support"
 	help
 	  This option enables support for a mixed IPv4/IPv6 "inet" table.
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux