Skip to contentSkip to conversation

net: bridge: netfilter: Fix dependency for BRIDGE_NF_EBTABLES

PATCH In review Fabio Estevam 3 participants 3 messages Jan 11, 2012

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: bridge: netfilter: Fix dependency for BRIDGE_NF_EBTABLES

Fix the following build warning:

warning: (BRIDGE_NF_EBTABLES) selects NETFILTER_XTABLES which has unmet direct dependencies (NET && INET && NETFILTER)

---
 net/bridge/netfilter/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/bridge/netfilter/Kconfig +1 -1
index a9aff9c..9ca621a 100644
@@ -4,7 +4,7 @@
 
 menuconfig BRIDGE_NF_EBTABLES
 	tristate "Ethernet Bridge tables (ebtables) support"
-	depends on BRIDGE && NETFILTER
+	depends on BRIDGE && NETFILTER && INET
 	select NETFILTER_XTABLES
 	help
 	  ebtables is a general, extensible frame/packet identification
Signature · 1 line
1.7.1
#1 lore raw
Quoted 14 lines · On Tue, 10 Jan 2012 23:48:25 -0200 Fabio Estevam <[email protected]> wrote:

Fix the following build warning:

warning: (BRIDGE_NF_EBTABLES) selects NETFILTER_XTABLES which has unmet direct dependencies (NET && INET && NETFILTER)

---
 net/bridge/netfilter/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/bridge/netfilter/Kconfig +0 -0
index a9aff9c..9ca621a 100644

net/bridge/netfilter/Kconfig line 10

Quoted 8 lines
net/bridge/netfilter/Kconfig +1 -1
@@ -4,7 +4,7 @@
 
 menuconfig BRIDGE_NF_EBTABLES
 	tristate "Ethernet Bridge tables (ebtables) support"
-	depends on BRIDGE && NETFILTER
+	depends on BRIDGE && NETFILTER && INET
 	select NETFILTER_XTABLES
 	help
 	  ebtables is a general, extensible frame/packet identification

Almost everybody has INET defined... but still it should be possible to run ebtables without INET layer. Looks like a but in XTABLES to me.

maintainer
#2 lore raw

From: Stephen Hemminger <[email protected]>
Date: Tue, 10 Jan 2012 17:52:51 -0800

Quoted 18 lines
Quoted 15 lines · On Tue, 10 Jan 2012 23:48:25 -0200 Fabio Estevam <[email protected]> wrote:

Fix the following build warning:

warning: (BRIDGE_NF_EBTABLES) selects NETFILTER_XTABLES which has unmet direct dependencies (NET && INET && NETFILTER)

---
 net/bridge/netfilter/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/bridge/netfilter/Kconfig +0 -0
index a9aff9c..9ca621a 100644
@@ -4,7 +4,7 @@
 
Quoted 10 lines

net/bridge/netfilter/Kconfig line 10

Quoted 7 lines
net/bridge/netfilter/Kconfig +1 -1
 menuconfig BRIDGE_NF_EBTABLES
 	tristate "Ethernet Bridge tables (ebtables) support"
-	depends on BRIDGE && NETFILTER
+	depends on BRIDGE && NETFILTER && INET
 	select NETFILTER_XTABLES
 	help
 	  ebtables is a general, extensible frame/packet identification

Almost everybody has INET defined... but still it should be possible to run ebtables without INET layer. Looks like a but in XTABLES to me.

And this needs to be CC:'d to the netfilter folks meanwhile, added...