tcp: remove 20+ year old disabled code from d912c694ee

This commit is contained in:
Gleb Smirnoff
2024-01-23 13:16:34 -08:00
parent c809435b18
commit 90ad2dc287
-10
View File
@@ -1719,16 +1719,6 @@ tcp_default_output(struct tcpcb *tp)
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);