Re: [PATCH] netlink: don't send NETLINK_URELEASE for unbound sockets

2016-04-16 Thread Johannes Berg
On Sat, 2016-04-16 at 14:30 +0800, Herbert Xu wrote: > Johannes Berg wrote: > > > > > > diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c > > index 215fc08c02ab..330ebd600f25 100644 > > --- a/net/netlink/af_netlink.c > > +++ b/net/netlink/af_netlink.c >

Re: [PATCH] netlink: don't send NETLINK_URELEASE for unbound sockets

2016-04-16 Thread Herbert Xu
Johannes Berg wrote: > > diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c > index 215fc08c02ab..330ebd600f25 100644 > --- a/net/netlink/af_netlink.c > +++ b/net/netlink/af_netlink.c > @@ -688,7 +688,7 @@ static int netlink_release(struct socket *sock) >

Re: [PATCH] netlink: don't send NETLINK_URELEASE for unbound sockets

2016-04-10 Thread David Miller
From: Johannes Berg Date: Thu, 7 Apr 2016 09:31:38 +0200 > From: Dmitry Ivanov > > All existing users of NETLINK_URELEASE use it to clean up resources that > were previously allocated to a socket via some command. As a result, no > users

[PATCH] netlink: don't send NETLINK_URELEASE for unbound sockets

2016-04-07 Thread Johannes Berg
From: Dmitry Ivanov All existing users of NETLINK_URELEASE use it to clean up resources that were previously allocated to a socket via some command. As a result, no users require getting this notification for unbound sockets. Sending it for unbound sockets, however,