lkml.org 
[lkml]   [1998]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: 2.1.97: Socket hangs in SYN_SENT
From
Date
thomas@Cuivre.FR.EU.ORG (Thomas Quinot) writes:

> When trying to fetch news from a particular remote host
> (news.povray.org, if this matters), the NNTP sockets
> often (but not always) get stuck in SYN_SENT state during
> inet_stream_connect :

Could you test if this patch fixes it?

--- net/ipv4/tcp_output.c-o Wed Apr 22 13:02:54 1998
+++ net/ipv4/tcp_output.c Wed Apr 22 13:06:27 1998
@@ -864,6 +864,7 @@

tp->rto = dst->rtt;
tcp_init_xmit_timers(sk);
+ tcp_reset_xmit_timer(sk, TIME_RETRANS);
tp->retransmits = 0;
tp->fackets_out = 0;
tp->retrans_out = 0;

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [from the cache]
©2003-2011 Jasper Spaans