What size of actually used hash table --unix_socket_table--? If it is 256, probably forall_unix_sockets is dangerous. forall_unix_sockets use 257 table size. And If I apply this fix, test program can work. Alan Cox wrote: >> */ >>- 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. -- GO!