lkml.org 
[lkml]   [1999]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: No connect timeout?
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.113 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site