[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>
This commit is contained in:
@@ -2364,8 +2364,9 @@ struct tcp_md5sig_pool *__tcp_get_md5sig_pool(int cpu)
|
|||||||
|
|
||||||
EXPORT_SYMBOL(__tcp_get_md5sig_pool);
|
EXPORT_SYMBOL(__tcp_get_md5sig_pool);
|
||||||
|
|
||||||
void __tcp_put_md5sig_pool(void) {
|
void __tcp_put_md5sig_pool(void)
|
||||||
__tcp_free_md5sig_pool(tcp_md5sig_pool);
|
{
|
||||||
|
tcp_free_md5sig_pool();
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL(__tcp_put_md5sig_pool);
|
EXPORT_SYMBOL(__tcp_put_md5sig_pool);
|
||||||
|
Reference in New Issue
Block a user