Re: [NETLINK] Don't attach callback to a going-away netlink socket
From: David Miller <davem@davemloft.net>
Date: 2007-05-03 10:17:29
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2007-05-03 10:17:29
Also in:
lkml
From: Herbert Xu <herbert@gondor.apana.org.au> Date: Wed, 2 May 2007 14:12:22 +1000
Dave, thanks for reminding me. Here it is. [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>
Applied, thanks Herbert.