netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nftables] netfilter: nf_tables: fix unmet dependencies in nf_tables_inet
@ 2014-01-13 11:02 Pablo Neira Ayuso
  0 siblings, 0 replies; only message in thread
From: Pablo Neira Ayuso @ 2014-01-13 11:02 UTC (permalink / raw)
  To: netfilter-devel

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@intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-13 11:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-13 11:02 [PATCH nftables] netfilter: nf_tables: fix unmet dependencies in nf_tables_inet Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).