Re: No connect timeout?

kuznet@ms2.inr.ac.ru
Sat, 13 Mar 1999 19:32:29 +0300 (MSK)


Hello!

> David, Alexey, what do you think?

At first sight, this fix does not change anything essentially.
inet_wait_for_connect cannot sleep on socket with sk->err.
sk->error_report() wakes up it after sk->err set, so that
the event cannot be lost.

BTW checks for sk->protocol == IPPROTO_TCP in this function are redundant.
It is inet_stream_connect() specially for TCP.

Alexey

-
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/