|
@@ -498,7 +498,7 @@ static int netlink_release(struct socket *sock)
|
|
|
|
|
|
skb_queue_purge(&sk->sk_write_queue);
|
|
skb_queue_purge(&sk->sk_write_queue);
|
|
|
|
|
|
- if (nlk->pid && !nlk->subscriptions) {
|
|
|
|
|
|
+ if (nlk->pid) {
|
|
struct netlink_notify n = {
|
|
struct netlink_notify n = {
|
|
.net = sock_net(sk),
|
|
.net = sock_net(sk),
|
|
.protocol = sk->sk_protocol,
|
|
.protocol = sk->sk_protocol,
|