diff options
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/sock.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/net/core/sock.c b/net/core/sock.c index 51a5e7ddee85..a1a23be10aa3 100644 --- a/net/core/sock.c +++ b/net/core/sock.c | |||
@@ -1367,11 +1367,7 @@ void sk_common_release(struct sock *sk) | |||
1367 | 1367 | ||
1368 | xfrm_sk_free_policy(sk); | 1368 | xfrm_sk_free_policy(sk); |
1369 | 1369 | ||
1370 | #ifdef INET_REFCNT_DEBUG | 1370 | sk_refcnt_debug_release(sk); |
1371 | if (atomic_read(&sk->sk_refcnt) != 1) | ||
1372 | printk(KERN_DEBUG "Destruction of the socket %p delayed, c=%d\n", | ||
1373 | sk, atomic_read(&sk->sk_refcnt)); | ||
1374 | #endif | ||
1375 | sock_put(sk); | 1371 | sock_put(sk); |
1376 | } | 1372 | } |
1377 | 1373 | ||