Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110693047
D5124.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
561 B
Referenced Files
None
Subscribers
None
D5124.diff
View Options
Index: sys/netinet/cc/cc_newreno.c
===================================================================
--- sys/netinet/cc/cc_newreno.c
+++ sys/netinet/cc/cc_newreno.c
@@ -166,7 +166,11 @@
*
* See RFC5681 Section 4.1. "Restarting Idle Connections".
*/
- if (V_tcp_do_rfc3390)
+ if (V_tcp_initcwnd_segments)
+ rw = min(V_tcp_initcwnd_segments * CCV(ccv, t_maxseg),
+ max(2 * CCV(ccv, t_maxseg),
+ V_tcp_initcwnd_segments * 1460));
+ else if (V_tcp_do_rfc3390)
rw = min(4 * CCV(ccv, t_maxseg),
max(2 * CCV(ccv, t_maxseg), 4380));
else
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 22, 11:40 PM (10 m, 54 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16783027
Default Alt Text
D5124.diff (561 B)
Attached To
Mode
D5124: Update <cc>_after_idle to take initcwnd_segments into account.
Attached
Detach File
Event Timeline
Log In to Comment