[Bridge] [PATCH] net: bridge: netfilter: Fix dependency for BRIDGE_NF_EBTABLES

Stephen Hemminger shemminger at vyatta.com
Wed Jan 11 01:52:51 UTC 2012


On Tue, 10 Jan 2012 23:48:25 -0200
Fabio Estevam <festevam at gmail.com> wrote:

> Fix the following build warning:
> 
> warning: (BRIDGE_NF_EBTABLES) selects NETFILTER_XTABLES which has unmet direct dependencies (NET && INET && NETFILTER)
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---
>  net/bridge/netfilter/Kconfig |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/net/bridge/netfilter/Kconfig b/net/bridge/netfilter/Kconfig
> index a9aff9c..9ca621a 100644
> --- a/net/bridge/netfilter/Kconfig
> +++ b/net/bridge/netfilter/Kconfig
> @@ -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.



More information about the Bridge mailing list