diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index dd945b114215..5d203248123e 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -1911,7 +1911,7 @@ void tcp_v4_destroy_sock(struct sock *sk) | |||
1911 | /* Clean up the MD5 key list, if any */ | 1911 | /* Clean up the MD5 key list, if any */ |
1912 | if (tp->md5sig_info) { | 1912 | if (tp->md5sig_info) { |
1913 | tcp_clear_md5_list(sk); | 1913 | tcp_clear_md5_list(sk); |
1914 | kfree_rcu(tp->md5sig_info, rcu); | 1914 | kfree_rcu(rcu_dereference_protected(tp->md5sig_info, 1), rcu); |
1915 | tp->md5sig_info = NULL; | 1915 | tp->md5sig_info = NULL; |
1916 | } | 1916 | } |
1917 | #endif | 1917 | #endif |