The branch main has been updated by glebius:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=90ad2dc28747a3a5036d68ccc87d2352459f5cb1

commit 90ad2dc28747a3a5036d68ccc87d2352459f5cb1
Author:     Gleb Smirnoff <gleb...@freebsd.org>
AuthorDate: 2024-01-23 21:16:34 +0000
Commit:     Gleb Smirnoff <gleb...@freebsd.org>
CommitDate: 2024-01-23 21:16:34 +0000

    tcp: remove 20+ year old disabled code from d912c694ee00
---
 sys/netinet/tcp_output.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
index 43ea6d4b453c..71a50d54d5ee 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -1719,16 +1719,6 @@ timer:
        tp->t_flags &= ~(TF_ACKNOW | TF_DELACK);
        if (tcp_timer_active(tp, TT_DELACK))
                tcp_timer_activate(tp, TT_DELACK, 0);
-#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 && --maxburst)
-               goto again;
-#endif
        if (sendalot)
                goto again;
        return (0);

Reply via email to