svn commit: r356224 - head/sys/netinet/cc
Michael Tuexen
tuexen at FreeBSD.org
Tue Dec 31 12:29:02 UTC 2019
Author: tuexen
Date: Tue Dec 31 12:29:01 2019
New Revision: 356224
URL: https://svnweb.freebsd.org/changeset/base/356224
Log:
Add curly braces missed in https://svnweb.freebsd.org/changeset/base/354773
Sponsored by: Netflix, Inc.
CID: 1407649
Modified:
head/sys/netinet/cc/cc_cubic.c
Modified: head/sys/netinet/cc/cc_cubic.c
==============================================================================
--- head/sys/netinet/cc/cc_cubic.c Tue Dec 31 11:45:19 2019 (r356223)
+++ head/sys/netinet/cc/cc_cubic.c Tue Dec 31 12:29:01 2019 (r356224)
@@ -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));
+ }
}
}
}
More information about the svn-src-all
mailing list