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

From: Jarek Poplawski
Date: Fri Sep 26 2008 - 15:50:16 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/