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

David Miller davem at davemloft.net
Wed Apr 18 17:06:36 PDT 2007


From: Pavel Emelianov <xemul at sw.ru>
Date: Wed, 18 Apr 2007 12:16:18 +0400

> The proposal it to make sock_orphan before detaching the callback
> in netlink_release() and to check for the sock to be SOCK_DEAD in
> netlink_dump_start() before setting a new callback.

As discussed in this thread there might be other ways to a
approach this, but this fix is good for now.

Patch applied, thank you.




More information about the Devel mailing list