Re: [PATCH 1/1] Use RCU for the UDP hash lock

Jarek Poplawski
2008-09-26T19:50:15Z

On Fri, Sep 26, 2008 at 08:49:40AM -0500, Corey Minyard wrote:
...
> I don't believe udp_disconnect() releases the socket.
> sk_common_release() seems to be the place where the refcount is
> decremented. But wherever it is done, it would have to be after the
> unhash.

...Which, BTW, could be repeated then, so hlist_del_init() matters
yet. (Another sign of such possibility should be this "if ()" in
udp_lib_unhash().)

Jarek P.