netfilter: avoid build error if TPROXY/SOCKET=y && NF_DEFRAG_IPV6=m
authorFlorian Westphal <fw@strlen.de>
Thu, 7 May 2015 12:15:58 +0000 (14:15 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 15 May 2015 18:18:27 +0000 (20:18 +0200)
commit595ca5880b37d4aa3c292d75531577175d36b225
treedd97dfab079c28d2d49284bdc447848a0e2099bb
parentf30bf2a5cac6c60ab366c4bc6db913597bf4d6ab
netfilter: avoid build error if TPROXY/SOCKET=y && NF_DEFRAG_IPV6=m

With TPROXY=y but DEFRAG_IPV6=m we get build failure:

net/built-in.o: In function `tproxy_tg_init':
net/netfilter/xt_TPROXY.c:588: undefined reference to `nf_defrag_ipv6_enable'

If DEFRAG_IPV6 is modular, TPROXY must be too.
(or both must be builtin).

This enforces =m for both.

Reported-and-tested-by: Liu Hua <liusdu@126.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/Kconfig