Re: [Real fix] Re: Kernel panic: can't push onto full stack

Andrea Arcangeli (andrea@e-mind.com)
Tue, 2 Mar 1999 19:30:52 +0100 (CET)


On Tue, 2 Mar 1999 kuznet@ms2.inr.ac.ru wrote:

>Why luckily? 8) Because we have to pass even dead connection request
>to accept(), otherwise blocking accept() may hang after select().

I can't understand the problem :(. If the client-sock is been closed after
a not accepted yet connect (so unix_peer(tsk)->dead == 1) unix_accept()
will not block but it will return (and it will return succesfully, but
maybe with a dead just deallocated sock in socket->sk..).

Andrea Arcangeli

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/