]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[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)
commit3f660d66dfbc13ea4b61d3865851b348444c24b4
tree3e2e67f1589d3568423673651d682fd14322b93b
parentbe52178b9f73969b583c6a781ca613f4e601221a
[NETLINK]: Kill CB only when socket is unused

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>
net/netlink/af_netlink.c