Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F170976553
D52140.id160916.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
661 B
Referenced Files
None
Subscribers
None
D52140.id160916.diff
View Options
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -2761,12 +2761,10 @@
if ((tp->snd_nxt == tp->snd_max) &&
(tp->t_rxtshift == 0))
tp->snd_cwnd =
- SEQ_SUB(tp->snd_nxt,
- tp->snd_una) -
- tcp_sack_adjust(tp);
+ SEQ_SUB(tp->snd_nxt, tp->snd_una);
tp->snd_cwnd +=
- (tp->t_dupacks - tp->snd_limited) *
- maxseg - tcp_sack_adjust(tp);
+ (tp->t_dupacks - tp->snd_limited) * maxseg;
+ tp->snd_cwnd -= tcp_sack_adjust(tp);
/*
* Only call tcp_output when there
* is new data available to be sent
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Sep 8, 11:31 PM (12 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38546003
Default Alt Text
D52140.id160916.diff (661 B)
Attached To
Mode
D52140: tcp: improve inflating cwnd in limited transmit
Attached
Detach File
Event Timeline
Log In to Comment