Hello!

> The reason is, that skb_recv_datagram is used get incoming connection requests, but 
>this checks
> if a SOCK_STREAM socket is in TCP_ESTABLISHED state before waiting.

Opla! Thank you.

The patch is incorrect (racy), but you can make correct one
if copy part of skb_recv_datagram, omitting offending line
and some useless checks (f.e. sk->shutdown, socket_error() etc)

Alexey Kuznetsov
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to