Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106938893
D28780.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
526 B
Referenced Files
None
Subscribers
None
D28780.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
@@ -3990,8 +3990,8 @@
* If there is going to be a SACK retransmission, adjust snd_cwnd
* accordingly.
*/
- tp->snd_cwnd = tp->snd_nxt - tp->snd_recover +
- tp->sackhint.sack_bytes_rexmit + (snd_cnt * maxseg);
+ tp->snd_cwnd = max(maxseg, (int64_t)tp->snd_nxt - tp->snd_recover +
+ tp->sackhint.sack_bytes_rexmit + (snd_cnt * maxseg));
tp->t_flags |= TF_ACKNOW;
(void) tcp_output(tp);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 8, 6:45 PM (2 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15725401
Default Alt Text
D28780.diff (526 B)
Attached To
Mode
D28780: Ensure cwnd doesn't shrink to zero with PRR
Attached
Detach File
Event Timeline
Log In to Comment