Johannes Berg <johan...@sipsolutions.net> 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) > > skb_queue_purge(&sk->sk_write_queue); > > - if (nlk->portid) { > + if (nlk->portid && nlk->bound) {
Any reason why we're still testing portid at all? Isn't testing bound enough? Thanks, -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt