From 03c6fb711a50ed882fdafce6acf5dd92272fd0b7 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Wed, 24 Sep 2014 01:08:14 +0530 Subject: [PATCH] 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 --- net/ipv4/tcp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 7921d1abc449..089a948fe834 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -3565,3 +3565,4 @@ restart: return 0; } +EXPORT_SYMBOL_GPL(tcp_nuke_addr); -- 2.34.1