From 6eb2b2810fceb595613178c9b27d7a04c89d5d88 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Tue, 23 Sep 2014 10:00:58 +0530 Subject: export tcp_nuke_addr to build ipv6 as module Otherwise we run into following build error: -----8<----- ... CC [M] lib/zlib_deflate/deftree.o CC [M] lib/zlib_deflate/deflate_syms.o LD [M] lib/zlib_deflate/zlib_deflate.o Building modules, stage 2. MODPOST 46 modules ERROR: "tcp_nuke_addr" [net/ipv6/ipv6.ko] undefined! make[2]: *** [__modpost] Error 1 make[1]: *** [modules] Error 2 make: *** [sub-make] 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 e957ae5f0803..b85fc1a9c66a 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -3380,3 +3380,4 @@ restart: return 0; } +EXPORT_SYMBOL_GPL(tcp_nuke_addr); -- cgit v1.2.3