Messages in this thread Patch in this message | | | Subject | Re: 2.1.97: Socket hangs in SYN_SENT [with correct patch] | From | Andi Kleen <> | Date | 22 Apr 1998 12:25:07 +0200 |
| |
Andi Kleen <ak@muc.de> writes:
> 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? [... wrong patch deleted ... ]
Of course this patch was wrong, here is a corrected patch:
--- net/ipv4/tcp_output.c-o Wed Apr 22 13:02:54 1998 +++ net/ipv4/tcp_output.c Wed Apr 22 13:25:16 1998 @@ -864,6 +864,7 @@ tp->rto = dst->rtt; tcp_init_xmit_timers(sk); + tcp_reset_xmit_timer(sk, TIME_RETRANS, tp->rto); 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
| |