aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
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 /include/net/tcp.h
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 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 5010f0c5a56e..31984733777b 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -306,7 +306,7 @@ extern kmem_cache_t *tcp_timewait_cachep;
306static inline void tcp_tw_put(struct tcp_tw_bucket *tw) 306static inline void tcp_tw_put(struct tcp_tw_bucket *tw)
307{ 307{
308 if (atomic_dec_and_test(&tw->tw_refcnt)) { 308 if (atomic_dec_and_test(&tw->tw_refcnt)) {
309#ifdef INET_REFCNT_DEBUG 309#ifdef SOCK_REFCNT_DEBUG
310 printk(KERN_DEBUG "tw_bucket %p released\n", tw); 310 printk(KERN_DEBUG "tw_bucket %p released\n", tw);
311#endif 311#endif
312 kmem_cache_free(tcp_timewait_cachep, tw); 312 kmem_cache_free(tcp_timewait_cachep, tw);