aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/sock.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>2005-08-09 22:45:38 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 18:37:29 -0400
commite6848976b721eeb5551cd94673faafeef78d9f35 (patch)
tree6c78b0eb52614ff6386b603ca64091b5aefaa418 /net/core/sock.c
parentd13964f4490157b8a290903362bfbc54f750a6bc (diff)
[NET]: Cleanup INET_REFCNT_DEBUG code
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/sock.c')
-rw-r--r--net/core/sock.c6
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