Re: [PATCH] removed socket buffer in unix domain socket

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Jan 07 2002 - 08:53:02 EST


> */
> - if(UNIXCB(skb).fp)
> + if(s->dead && UNIXCB(skb).fp)
> {

The bug may be real but the fix would prevent garbage collection working
at all - which I grant would fix the problem.

You don't need a socket to be dead to want to garbage collect it. If a
socket is getting disposed of while in use then there is a
maybe_unmark_and.. call missing, or a lock on the unix socket table missing
somewhere.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:34 EST