diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-12-13 19:25:44 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-13 19:48:26 -0500 |
commit | 6931ba7cef3991fbb970997d33e24139ccdc3c2c (patch) | |
tree | b9b94005e1b4b1d9e2628d7fd5d3b5357d578598 | |
parent | befffe901649e2cc421d0d150c4379d01658cf6b (diff) |
[TCP]: Fix oops caused by __tcp_put_md5sig_pool()
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>
-rw-r--r-- | net/ipv4/tcp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 090c690627e5..b67e0dd743be 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -2364,8 +2364,9 @@ struct tcp_md5sig_pool *__tcp_get_md5sig_pool(int cpu) | |||
2364 | 2364 | ||
2365 | EXPORT_SYMBOL(__tcp_get_md5sig_pool); | 2365 | EXPORT_SYMBOL(__tcp_get_md5sig_pool); |
2366 | 2366 | ||
2367 | void __tcp_put_md5sig_pool(void) { | 2367 | void __tcp_put_md5sig_pool(void) |
2368 | __tcp_free_md5sig_pool(tcp_md5sig_pool); | 2368 | { |
2369 | tcp_free_md5sig_pool(); | ||
2369 | } | 2370 | } |
2370 | 2371 | ||
2371 | EXPORT_SYMBOL(__tcp_put_md5sig_pool); | 2372 | EXPORT_SYMBOL(__tcp_put_md5sig_pool); |