diff options
Diffstat (limited to 'include/net/sock.h')
-rw-r--r-- | include/net/sock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index a340ab46b41c..a66caa223d18 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
@@ -1041,7 +1041,7 @@ static inline void sk_refcnt_debug_dec(struct sock *sk) | |||
1041 | sk->sk_prot->name, sk, atomic_read(&sk->sk_prot->socks)); | 1041 | sk->sk_prot->name, sk, atomic_read(&sk->sk_prot->socks)); |
1042 | } | 1042 | } |
1043 | 1043 | ||
1044 | inline void sk_refcnt_debug_release(const struct sock *sk) | 1044 | static inline void sk_refcnt_debug_release(const struct sock *sk) |
1045 | { | 1045 | { |
1046 | if (atomic_read(&sk->sk_refcnt) != 1) | 1046 | if (atomic_read(&sk->sk_refcnt) != 1) |
1047 | printk(KERN_DEBUG "Destruction of the %s socket %p delayed, refcnt=%d\n", | 1047 | printk(KERN_DEBUG "Destruction of the %s socket %p delayed, refcnt=%d\n", |