From: Patrick McHardy Date: Fri, 17 Nov 2006 05:35:49 +0000 (+0100) Subject: [PATCH] NETFILTER: Kconfig: fix xt_physdev dependencies X-Git-Tag: v2.6.18.5~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96fba05bc0c49720732ea15ddcbcdc6e95a03599;p=thirdparty%2Fkernel%2Fstable.git [PATCH] 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 Signed-off-by: David S. Miller Signed-off-by: Chris Wright --- diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig index a9894ddfd72af..96af461b188ab 100644 --- a/net/netfilter/Kconfig +++ b/net/netfilter/Kconfig @@ -342,7 +342,7 @@ config NETFILTER_XT_MATCH_MULTIPORT config NETFILTER_XT_MATCH_PHYSDEV tristate '"physdev" match support' - depends on NETFILTER_XTABLES && BRIDGE_NETFILTER + depends on NETFILTER_XTABLES && BRIDGE && BRIDGE_NETFILTER help Physdev packet matching matches against the physical bridge ports the IP packet arrived on or will leave by.