Commit 6b41e7dd authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: af_unix should use KERN_INFO instead of KERN_DEBUG

As spotted by Joe Perches, we should use KERN_INFO in unix_sock_destructor()
Signed-off-by: default avatarEric Dumazet <>
Signed-off-by: default avatarDavid S. Miller <>
parent d171235e
...@@ -353,7 +353,7 @@ static void unix_sock_destructor(struct sock *sk) ...@@ -353,7 +353,7 @@ static void unix_sock_destructor(struct sock *sk)
WARN_ON(!sk_unhashed(sk)); WARN_ON(!sk_unhashed(sk));
WARN_ON(sk->sk_socket); WARN_ON(sk->sk_socket);
if (!sock_flag(sk, SOCK_DEAD)) { if (!sock_flag(sk, SOCK_DEAD)) {
printk(KERN_DEBUG "Attempt to release alive unix socket: %p\n", sk); printk(KERN_INFO "Attempt to release alive unix socket: %p\n", sk);
return; return;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment