Re: 2.1.97: Socket hangs in SYN_SENT

Andi Kleen (ak@muc.de)
22 Apr 1998 12:11:45 +0200


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