[NETLINK]: Kill CB only when socket is unused
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 3 May 2007 10:17:14 +0000 (03:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 May 2007 10:17:14 +0000 (03:17 -0700)
Since we can still receive packets until all references to the
socket are gone, we don't need to kill the CB until that happens.
This also aligns ourselves with the receive queue purging which
happens at that point.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found