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

From: Patrick McHardy <[email-masked]>
Date: Fri, 22 Sep 2006 12:54:42 +0200

Jarek Poplawski wrote:
> On Fri, Sep 22, 2006 at 12:15:43PM +0200, Patrick McHardy wrote:
> ...
> 
>>We should fix the physdev dependencies since this is what is causing
>>problems.
> 
> ...
> 
>> config NETFILTER_XT_MATCH_PHYSDEV
>> 	tristate '"physdev" match support'
>>-	depends on NETFILTER_XTABLES && BRIDGE_NETFILTER
>>+	depends on NETFILTER_XTABLES && BRIDGE && BRIDGE_NETFILTER
> 
> 
> Sure! But someone may ask what for BRIDGE_NETFILTER depends
> on BRIDGE if you should repeat this? 

Simply because it really depends on BRIDGE. The reason why we need
BRIDGE as dependency here also is because BRIDGE_NETFILTER is a
boolean, but may still result in a module because of special
logic in the bridge makefile.