Message ID | CAEfhGiwqb09YFP-zq9tfK7G8wDHiDP-QxhXvm2F-GU+SYn7uMA@mail.gmail.com |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/net/core/sock_diag.c b/net/core/sock_diag.c index d79866c..e642bfae 100644 --- a/net/core/sock_diag.c +++ b/net/core/sock_diag.c @@ -146,0 +147,7 @@ static void sock_diag_broadcast_destroy_work(struct work_struct *work) + + if (!sk->sk_net_refcnt) { + pr_err( + "broadcast kernel socket %p count: %d\n", sk, + atomic_read(&sock_net(sk)->count)); + }