]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
[PATCH] NETFILTER: Kconfig: fix xt_physdev dependencies
authorPatrick McHardy <kaber@trash.net>
Fri, 17 Nov 2006 05:35:49 +0000 (06:35 +0100)
committerChris Wright <chrisw@sous-sol.org>
Sat, 2 Dec 2006 00:12:35 +0000 (16:12 -0800)
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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/netfilter/Kconfig

index a9894ddfd72af22044e12de52ea397ac3c50e3de..96af461b188ab1ea4de7543cd2a6489eb0d2d73e 100644 (file)
@@ -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.