diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-09-07 11:20:27 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-09-07 11:25:16 -0400 |
commit | 679ab4ddbdfab8af39104e63819db71f428aefd9 (patch) | |
tree | d6dbd91d808b044424d741eeecc5f92430f7c9b8 /net | |
parent | cbb8125eb40b05f96d557b2705ee641873eb30b0 (diff) |
netfilter: xt_TPROXY: undefined reference to `udp6_lib_lookup'
CONFIG_IPV6=m
CONFIG_NETFILTER_XT_TARGET_TPROXY=y
net/built-in.o: In function `nf_tproxy_get_sock_v6.constprop.11':
>> xt_TPROXY.c:(.text+0x583a1): undefined reference to `udp6_lib_lookup'
net/built-in.o: In function `tproxy_tg_init':
>> xt_TPROXY.c:(.init.text+0x1dc3): undefined reference to `nf_defrag_ipv6_enable'
This fix is similar to 1a5bbfc ("netfilter: Fix build errors with
xt_socket.c").
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig index 4bef6eb7c40d..831f9603c0ed 100644 --- a/net/netfilter/Kconfig +++ b/net/netfilter/Kconfig | |||
@@ -839,6 +839,7 @@ config NETFILTER_XT_TARGET_TPROXY | |||
839 | tristate '"TPROXY" target transparent proxying support' | 839 | tristate '"TPROXY" target transparent proxying support' |
840 | depends on NETFILTER_XTABLES | 840 | depends on NETFILTER_XTABLES |
841 | depends on NETFILTER_ADVANCED | 841 | depends on NETFILTER_ADVANCED |
842 | depends on (IPV6 || IPV6=n) | ||
842 | depends on IP_NF_MANGLE | 843 | depends on IP_NF_MANGLE |
843 | select NF_DEFRAG_IPV4 | 844 | select NF_DEFRAG_IPV4 |
844 | select NF_DEFRAG_IPV6 if IP6_NF_IPTABLES | 845 | select NF_DEFRAG_IPV6 if IP6_NF_IPTABLES |