Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109875138
D24657.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
613 B
Referenced Files
None
Subscribers
None
D24657.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D24657: update cwnd in both convex and concave regions like comment stated.
Attached
Detach File
Event Timeline
Log In to Comment