lkml.org 
[lkml]   [2002]   [Jan]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] removed socket buffer in unix domain socket
DateMon, 7 Jan 2002 13:53:02 +0000 (GMT)
FromAlan Cox <>
>                                  */
> -                               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/

\
 
 \ /
  Last update: 2005-03-22 12:15    [W:0.503 / U:0.090 seconds]
©2003-2008 Jasper Spaans