Page MenuHomeFreeBSD

D5124.diff
No OneTemporary

D5124.diff

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

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)

Event Timeline