tcp: remove 20+ year old disabled code from d912c694ee
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user