Page MenuHomeFreeBSD

D24657.id74734.diff
No OneTemporary

D24657.id74734.diff

Index: sys/netinet/cc/cc_cubic.c
===================================================================
--- sys/netinet/cc/cc_cubic.c
+++ sys/netinet/cc/cc_cubic.c
@@ -185,12 +185,11 @@
*/
if (CCV(ccv, snd_cwnd) < w_tf)
CCV(ccv, snd_cwnd) = ulmin(w_tf, INT_MAX);
- }
-
- else if (CCV(ccv, snd_cwnd) < w_cubic_next) {
+ } else if (CCV(ccv, snd_cwnd) < w_cubic_next) {
/*
* Concave or convex region, follow CUBIC
* cwnd growth.
+ * Only update snd_cwnd, if it doesn't shrink.
*/
if (V_tcp_do_rfc3465)
CCV(ccv, snd_cwnd) = ulmin(w_cubic_next,

File Metadata

Mime Type
text/plain
Expires
Sat, Jun 13, 3:17 AM (16 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33919499
Default Alt Text
D24657.id74734.diff (598 B)

Event Timeline