summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_output.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2001-11-30 21:33:39 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2001-11-30 21:33:39 +0000
commitd912c694ee00de5ea0f46743295a0fc603cab562 (patch)
tree6c9d62d3fbdeb97c9f433d6372654e0a5c66f746 /sys/netinet/tcp_output.c
parente409590d0e0e57c6ec37d95bcb9fa3728051ebb1 (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_output.c')
-rw-r--r--sys/netinet/tcp_output.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
index 683eeef0bd8a..92072d6f998b 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -921,8 +921,18 @@ out:
tp->t_flags &= ~TF_ACKNOW;
if (tcp_delack_enabled)
callout_stop(tp->tt_delack);
+#if 0
+ /*
+ * This completely breaks TCP if newreno is turned on. What happens
+ * is that if delayed-acks are turned on on the receiver, this code
+ * on the transmitter effectively destroys the TCP window, forcing
+ * it to four packets (1.5Kx4 = 6K window).
+ */
if (sendalot && (!tcp_do_newreno || --maxburst))
goto again;
+#endif
+ if (sendalot)
+ goto again;
return (0);
}