Page MenuHomeFreeBSD

D24657.diff
No OneTemporary

D24657.diff

Index: head/sys/netinet/cc/cc_cubic.c
===================================================================
--- head/sys/netinet/cc/cc_cubic.c
+++ head/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
Tue, Feb 11, 3:28 PM (13 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16597257
Default Alt Text
D24657.diff (613 B)

Event Timeline