diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 1ed230716d51..54139fa514e6 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -1767,10 +1767,8 @@ exit: | |||
1767 | NET_INC_STATS_BH(sock_net(sk), LINUX_MIB_LISTENDROPS); | 1767 | NET_INC_STATS_BH(sock_net(sk), LINUX_MIB_LISTENDROPS); |
1768 | return NULL; | 1768 | return NULL; |
1769 | put_and_exit: | 1769 | put_and_exit: |
1770 | tcp_clear_xmit_timers(newsk); | 1770 | inet_csk_prepare_forced_close(newsk); |
1771 | tcp_cleanup_congestion_control(newsk); | 1771 | tcp_done(newsk); |
1772 | bh_unlock_sock(newsk); | ||
1773 | sock_put(newsk); | ||
1774 | goto exit; | 1772 | goto exit; |
1775 | } | 1773 | } |
1776 | EXPORT_SYMBOL(tcp_v4_syn_recv_sock); | 1774 | EXPORT_SYMBOL(tcp_v4_syn_recv_sock); |