Subject: [PATCH] [Bugme-new] [Bug 7179] New: Compilation of .tmp_linux1 fails due to missing declaration in net/netfilter/xt_physdev.c

From: Jarek Poplawski <[email-masked]>
Date: Fri, 22 Sep 2006 11:55:56 +0200

On Fri, Sep 22, 2006 at 11:27:31AM +0200, Jarek Poplawski wrote:
...
> There is CONFIG_BRIDGE=m and this is the source of a problem:
> config shouldn't allow for:
> 
> CONFIG_NETFILTER_BRIDGE=y 
> CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y 
 
So here is a patch proposal.

Jarek P.

diff -Nurp linux-2.6.18-/net/Kconfig linux-2.6.18/net/Kconfig
--- linux-2.6.18-/net/Kconfig	2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18/net/Kconfig	2006-09-22 11:42:19.000000000 +0200
@@ -143,7 +143,7 @@ config NETFILTER_DEBUG
 
 config BRIDGE_NETFILTER
 	bool "Bridged IP/ARP packets filtering"
-	depends on BRIDGE && NETFILTER && INET
+	depends on BRIDGE=y && NETFILTER && INET
 	default y
 	---help---
 	  Enabling this option will let arptables resp. iptables see bridged