[Devel] Re: [NETLINK] Don't attach callback to a going-away netlink socket

David Miller davem at davemloft.net
Sat Apr 28 23:18:49 PDT 2007


From: Herbert Xu <herbert at gondor.apana.org.au>
Date: Thu, 19 Apr 2007 12:13:51 +1000

> [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.
> 
> Original patch by Pavel Emelianov who noticed this race condition.
> 
> Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>

Herbert, could you refresh this refinement to the current
tree?

Thanks a lot!




More information about the Devel mailing list