diff options
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 42a2e2ccd430..20159a3dafb3 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -1580,12 +1580,7 @@ void tcp_destroy_sock(struct sock *sk) | |||
1580 | 1580 | ||
1581 | xfrm_sk_free_policy(sk); | 1581 | xfrm_sk_free_policy(sk); |
1582 | 1582 | ||
1583 | #ifdef INET_REFCNT_DEBUG | 1583 | sk_refcnt_debug_release(sk); |
1584 | if (atomic_read(&sk->sk_refcnt) != 1) { | ||
1585 | printk(KERN_DEBUG "Destruction TCP %p delayed, c=%d\n", | ||
1586 | sk, atomic_read(&sk->sk_refcnt)); | ||
1587 | } | ||
1588 | #endif | ||
1589 | 1584 | ||
1590 | atomic_dec(&tcp_orphan_count); | 1585 | atomic_dec(&tcp_orphan_count); |
1591 | sock_put(sk); | 1586 | sock_put(sk); |