summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2014-03-26 15:27:05 +0530
committerJohn Stultz <john.stultz@linaro.org>2016-02-16 13:51:45 -0800
commit3823c8136f2170b3ac5e6a5f8b857746a786e845 (patch)
tree215cb185702d70492762e0c02b3d5690bb982326 /include
parent04f86f74f217b48cf3c24bbfdf66dec38d4d1e23 (diff)
tcp: Fix IPV6 module build errors
If CONFIG_IPV6=m is selected, we are getting following build errors. net/built-in.o: In function `tcp_is_local6': net/ipv4/tcp.c:3261: undefined reference to `rt6_lookup' Making the code conditional upon only CONFIG_IPV6=y fixes this issue. Also export tcp_nuke_addr to build IPv6 modules. Otherwise we run into following build error: 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 Signed-off-by: Tushar Behera <tushar.behera@linaro.org> CC: John Stultz <john.stultz@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions