|
@@ -1037,7 +1037,7 @@ static inline void sk_refcnt_debug_dec(struct sock *sk)
|
|
sk->sk_prot->name, sk, atomic_read(&sk->sk_prot->socks));
|
|
sk->sk_prot->name, sk, atomic_read(&sk->sk_prot->socks));
|
|
}
|
|
}
|
|
|
|
|
|
-inline void sk_refcnt_debug_release(const struct sock *sk)
|
|
|
|
|
|
+static inline void sk_refcnt_debug_release(const struct sock *sk)
|
|
{
|
|
{
|
|
if (atomic_read(&sk->sk_refcnt) != 1)
|
|
if (atomic_read(&sk->sk_refcnt) != 1)
|
|
printk(KERN_DEBUG "Destruction of the %s socket %p delayed, refcnt=%d\n",
|
|
printk(KERN_DEBUG "Destruction of the %s socket %p delayed, refcnt=%d\n",
|