projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca49d5e
)
export tcp_nuke_addr to build ipv6 as module
author
Andrey Konovalov
<andrey.konovalov@linaro.org>
Tue, 23 Sep 2014 19:38:14 +0000
(
01:08
+0530)
committer
Amit Pundir
<amit.pundir@linaro.org>
Tue, 23 Sep 2014 19:39:21 +0000
(
01:09
+0530)
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>
net/ipv4/tcp.c
patch
|
blob
|
history
diff --git
a/net/ipv4/tcp.c
b/net/ipv4/tcp.c
index 7921d1abc449f0924eac2f8c58972fa31a44dd42..089a948fe83441586259d39fa7939d5ee3416f0d 100644
(file)
--- a/
net/ipv4/tcp.c
+++ b/
net/ipv4/tcp.c
@@
-3565,3
+3565,4
@@
restart:
return 0;
}
+EXPORT_SYMBOL_GPL(tcp_nuke_addr);