Prechádzať zdrojové kódy

[NETFILTER]: Kconfig: fix xt_physdev dependencies

xt_physdev depends on bridge netfilter, which is a boolean, but can still
be built modular because of special handling in the bridge makefile. Add
a dependency on BRIDGE to prevent XT_MATCH_PHYSDEV=y, BRIDGE=m.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Patrick McHardy 18 rokov pred
rodič
commit
f1da70632f
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      net/netfilter/Kconfig

+ 1 - 1
net/netfilter/Kconfig

@@ -365,7 +365,7 @@ config NETFILTER_XT_MATCH_MULTIPORT
 
 
 config NETFILTER_XT_MATCH_PHYSDEV
 config NETFILTER_XT_MATCH_PHYSDEV
 	tristate '"physdev" match support'
 	tristate '"physdev" match support'
-	depends on NETFILTER_XTABLES && BRIDGE_NETFILTER
+	depends on NETFILTER_XTABLES && BRIDGE && BRIDGE_NETFILTER
 	help
 	help
 	  Physdev packet matching matches against the physical bridge ports
 	  Physdev packet matching matches against the physical bridge ports
 	  the IP packet arrived on or will leave by.
 	  the IP packet arrived on or will leave by.