Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132980752
D19071.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
632 B
Referenced Files
None
Subscribers
None
D19071.id.diff
View Options
Index: head/sys/netinet/cc/cc_cdg.c
===================================================================
--- head/sys/netinet/cc/cc_cdg.c
+++ head/sys/netinet/cc/cc_cdg.c
@@ -592,7 +592,11 @@
qdiff_min = ((long)(cdg_data->minrtt_in_rtt -
cdg_data->minrtt_in_prevrtt) << D_P_E );
- calc_moving_average(cdg_data, qdiff_max, qdiff_min);
+ if (cdg_data->sample_q_size == 0) {
+ cdg_data->max_qtrend = qdiff_max;
+ cdg_data->min_qtrend = qdiff_min;
+ } else
+ calc_moving_average(cdg_data, qdiff_max, qdiff_min);
/* Probabilistic backoff with respect to gradient. */
if (slowstart && qdiff_min > 0)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 22, 7:14 PM (6 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24048481
Default Alt Text
D19071.id.diff (632 B)
Attached To
Mode
D19071: Get TCP CDG CC working if net.inet.tcp.cc.cdg.smoothing_factor = 0
Attached
Detach File
Event Timeline
Log In to Comment