export tcp_nuke_addr to build ipv6 as module
Otherwise we run into following build error:
-----8<-----
...
CC [M] net/ipv6/netfilter/ip6t_REJECT.o
CC [M] net/xfrm/xfrm_ipcomp.o
Building modules, stage 2.
MODPOST 36 modules
ERROR: "tcp_nuke_addr" [net/ipv6/ipv6.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
-----8<-----
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 7921d1a..089a948 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -3565,3 +3565,4 @@
return 0;
}
+EXPORT_SYMBOL_GPL(tcp_nuke_addr);