projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
befffe9
)
[TCP]: Fix oops caused by __tcp_put_md5sig_pool()
author
David S. Miller
<davem@sunset.davemloft.net>
Thu, 14 Dec 2006 00:25:44 +0000
(16:25 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 14 Dec 2006 00:48:26 +0000
(16:48 -0800)
It should call tcp_free_md5sig_pool() not __tcp_free_md5sig_pool()
so that it does proper refcounting.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/tcp.c
b/net/ipv4/tcp.c
index 090c690627e5d12c9540119de37fb14f813e8592..b67e0dd743be9a159754c61fee6915241585cc01 100644
(file)
--- a/
net/ipv4/tcp.c
+++ b/
net/ipv4/tcp.c
@@
-2364,8
+2364,9
@@
struct tcp_md5sig_pool *__tcp_get_md5sig_pool(int cpu)
EXPORT_SYMBOL(__tcp_get_md5sig_pool);
-void __tcp_put_md5sig_pool(void) {
- __tcp_free_md5sig_pool(tcp_md5sig_pool);
+void __tcp_put_md5sig_pool(void)
+{
+ tcp_free_md5sig_pool();
}
EXPORT_SYMBOL(__tcp_put_md5sig_pool);