Page MenuHomeFreeBSD

D47439.diff
No OneTemporary

D47439.diff

diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
--- a/sys/netinet/tcp_timer.c
+++ b/sys/netinet/tcp_timer.c
@@ -810,7 +810,9 @@
*/
tp->t_rtttime = 0;
- cc_cong_signal(tp, NULL, CC_RTO);
+ /* Do not overwrite the snd_cwnd on SYN retransmissions. */
+ if (tp->t_state != TCPS_SYN_SENT)
+ cc_cong_signal(tp, NULL, CC_RTO);
NET_EPOCH_ENTER(et);
rv = tcp_output_locked(tp);
NET_EPOCH_EXIT(et);

File Metadata

Mime Type
text/plain
Expires
Tue, Feb 11, 12:33 PM (12 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16595085
Default Alt Text
D47439.diff (419 B)

Event Timeline