]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
netfilter: xt_TEE depends on NF_CONNTRACK
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 14 May 2010 20:52:30 +0000 (13:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 May 2010 20:52:30 +0000 (13:52 -0700)
Fix xt_TEE build for the case of NF_CONNTRACK=m and
NETFILTER_XT_TARGET_TEE=y:

xt_TEE.c:(.text+0x6df5c): undefined reference to `nf_conntrack_untracked'
4x

Built with all 4 m/y combinations.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/Kconfig

index e223f47b8bae1a457779fed1a4c1e2509b707328..8593a77cfea906ac0257405fb8aa9ae0e0bef597 100644 (file)
@@ -506,6 +506,7 @@ config NETFILTER_XT_TARGET_TEE
        tristate '"TEE" - packet cloning to alternate destiantion'
        depends on NETFILTER_ADVANCED
        depends on (IPV6 || IPV6=n)
+       depends on !NF_CONNTRACK || NF_CONNTRACK
        ---help---
        This option adds a "TEE" target with which a packet can be cloned and
        this clone be rerouted to another nexthop.