snd_cwnd was updated twice in the tcp_newreno function.

This commit is contained in:
Jayanth Vijayaraghavan 2000-05-18 21:21:42 +00:00
parent 2e9a65c474
commit d841727499
2 changed files with 0 additions and 2 deletions

View File

@ -2840,7 +2840,6 @@ tcp_newreno(tp, th)
callout_stop(tp->tt_rexmt);
tp->t_rtttime = 0;
tp->snd_nxt = th->th_ack;
tp->snd_cwnd = tp->t_maxseg;
/*
* Set snd_cwnd to one segment beyond acknowledged offset
* (tp->snd_una has not yet been updated when this function

View File

@ -2840,7 +2840,6 @@ tcp_newreno(tp, th)
callout_stop(tp->tt_rexmt);
tp->t_rtttime = 0;
tp->snd_nxt = th->th_ack;
tp->snd_cwnd = tp->t_maxseg;
/*
* Set snd_cwnd to one segment beyond acknowledged offset
* (tp->snd_una has not yet been updated when this function