Sponsored by:		Netflix, Inc.
CID:			1407649
This commit is contained in:
Michael Tuexen 2019-12-31 12:29:01 +00:00
parent 851c29f653
commit 7d87664a04
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356224

View File

@ -200,10 +200,11 @@ cubic_ack_received(struct cc_var *ccv, uint16_t type)
* max_cwnd.
*/
if (cubic_data->num_cong_events == 0 &&
cubic_data->max_cwnd < CCV(ccv, snd_cwnd))
cubic_data->max_cwnd < CCV(ccv, snd_cwnd)) {
cubic_data->max_cwnd = CCV(ccv, snd_cwnd);
cubic_data->K = cubic_k(cubic_data->max_cwnd /
CCV(ccv, t_maxseg));
}
}
}
}