patch-1.3.85 linux/include/net/tcp.h
Next file: linux/init/main.c
Previous file: linux/include/linux/tqueue.h
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Mon Apr 8 18:29:25 1996
- Orig file:
v1.3.84/linux/include/net/tcp.h
- Orig date:
Mon Mar 25 10:26:32 1996
diff -u --recursive --new-file v1.3.84/linux/include/net/tcp.h linux/include/net/tcp.h
@@ -199,13 +199,8 @@
/*
* compute the actual window i.e.
* old_window - received_bytes_on_that_win.
- *
- * Don't raise the window if we have lots left:
- * that only results in unnecessary packets.
*/
window = sk->window - (sk->acked_seq - sk->lastwin_seq);
- if (window >= MAX_WINDOW/2)
- return 0;
free_space = sock_rspace(sk);
if (free_space > 1024)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this