Re: [PATCH -next] netfilter: xt_TEE depends on NF_CONNTRACK

From: Patrick McHardy
Date: Fri May 14 2010 - 13:20:25 EST


Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Cc: Patrick McHardy <kaber@xxxxxxxxx>
> Cc: Jan Engelhardt <jengelh@xxxxxxxxxx>

Acked-by: Patrick McHardy <kaber@xxxxxxxxx>

Dave, please apply directly. Thanks!

> ---
> net/netfilter/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> --- linux-next-20100514.orig/net/netfilter/Kconfig
> +++ linux-next-20100514/net/netfilter/Kconfig
> @@ -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.
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/