From: Patrick McHardy Date: Sat, 24 Mar 2007 20:18:01 +0000 (+0100) Subject: NETFILTER: Kconfig: fix xt_physdev dependencies X-Git-Tag: v2.6.16.45-rc1~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bed543f180803523b5baa5b10e9432ea2de5afb;p=thirdparty%2Fkernel%2Fstable.git 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: Adrian Bunk --- diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig index a8e5544da93e6..215aada435bb5 100644 --- a/net/netfilter/Kconfig +++ b/net/netfilter/Kconfig @@ -281,7 +281,7 @@ config NETFILTER_XT_MATCH_MARK 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.