snd_cwnd was updated twice in the tcp_newreno function.
This commit is contained in:
parent
2e9a65c474
commit
d841727499
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user