Skip to content

Commit

Permalink
net: af_unix should use KERN_INFO instead of KERN_DEBUG
Browse files Browse the repository at this point in the history
As spotted by Joe Perches, we should use KERN_INFO in unix_sock_destructor()

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Nov 19, 2008
1 parent d171235 commit 6b41e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/unix/af_unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ static void unix_sock_destructor(struct sock *sk)
WARN_ON(!sk_unhashed(sk));
WARN_ON(sk->sk_socket);
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;
}

Expand Down

0 comments on commit 6b41e7d

Please sign in to comment.