Re: TCP bug in 2.1.22+

bofh@snoopy.virtual.net.au
Tue, 08 Apr 97 00:39:55 +1100


>>>> Here is a set of trace logs when my systems are experiencing the TCP problems. The server (203.29.16.4) is running 2.1.29 and the client (203.29.19.1) is running 2.1.31. They are directly connected via a 33K6 modem link running PPP.

>Same problem as Richard Johnson. Extract from Eric's patch follows, this
>fixed the stalls on my test system.

>--- linux-2.1.32/net/ipv4/tcp_input.c.orig Mon Apr 7 23:27:28 1997 +++
>linux/net/ipv4/tcp_input.c Mon Apr 7 23:27:50 1997
>@@ -739,7 +739,7 @@
>
> when = tp->rto - (jiffies - skb->when);
>
>- if (when <= 0)
>+ if (sk->retransmits)
> {
> tp->retrans_head = NULL;
> /*

Thanks. That has fixed my problems. FTP transfers are now consistantly running at 3.7K/s over a 33K6 link when they previously only averaged 1.5K/s for files larger than 100K.

Russell Coker