Re: pre-2.1.90..

Andrea Arcangeli (arcangeli@mbox.queen.it)
Thu, 12 Mar 1998 02:19:19 +0100 (CET)


On Wed, 11 Mar 1998, David S. Miller wrote:

>Can you post where I can obtain these programs, so I can reproduce the
>behavior myself and fix it?

This fix the stall.

--- linux/net/ipv4/tcp.c 1998/03/11 22:50:40 1.1
+++ linux/net/ipv4/tcp.c 1998/03/12 01:04:42
@@ -1072,7 +1072,7 @@
/* We send a ACK if we can now advertise a non-zero window
* which has been raised "significantly".
*/
- if(tcp_timer_is_set(sk, TIME_DACK) &&
+ if(tcp_timer_is_set(sk, TIME_DACK) ||
(copied >= tcp_receive_window(&sk->tp_pinfo.af_tcp)))
tcp_read_wakeup(sk);
}

Andrea[s] Arcangeli

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