Re: Bug in TCP code. (fwd)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 3 Sep 1998 14:57:43 +0100 (BST)


> problem is that the SIGIO (search for soc_wake_async) is posted
> before the socket connection state is set to ESTABLISHED. select(2)
> is unable to report queued I/O for sockets not in ESTABLISHED state.
>
> linux-2.0.36pre7 is close but still not working properly.

if ( sk->listening )
{
/* The listener may be sk->dead. Dont worry
data_ready traps this */
sk->data_ready(sk->listening,0);
sk->listening = NULL;
}

The test program assumes it will be the first SIGIO

Alan

-
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.altern.org/andrebalsa/doc/lkml-faq.html