[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070418.170636.77057313.davem@davemloft.net>
Date: Wed, 18 Apr 2007 17:06:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xemul@...ru
Cc: netdev@...r.kernel.org, akpm@...l.org,
linux-kernel@...r.kernel.org, devel@...nvz.org, kaber@...sh.net,
dev@...nvz.org
Subject: Re: [NETLINK] Don't attach callback to a going-away netlink socket
From: Pavel Emelianov <xemul@...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.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists