lkml.org 
[lkml]   [1998]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: write() returning EAGAIN
On Fri, Nov 20, 1998 at 08:34:42PM +0100, kuznet@ms2.inr.ac.ru wrote:
> Hello!
>
> > I've seen it since early 2.1.x (Maybe since the select->poll migration??)
> > It is probably some difference in poll/select handling, but I haven't tracked
> > it down yet.
>
> Seems, it is another case, when we forget to set shutdown mask
> on socket death.

Culprit found: tcp_rcv_state_process:SYN_SENT:if (!syn) ...

The check is bogus anyways, just replacing the ECONNRESET code with
"goto discard" seems to fix it (and it is needed to comunicate with broken
servers like the mozilla.org cvs server)

-Andi

-
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:45    [W:0.030 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site