Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176955617
D36637.1793655769.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
664 B
Referenced Files
None
Subscribers
None
D36637.1793655769.diff
View Options
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -415,7 +415,7 @@
else {
int32_t cwin;
- /*
+ /*
* We are inside of a SACK recovery episode and are
* sending new data, having retransmitted all the
* data possible in the scoreboard.
@@ -431,8 +431,8 @@
* of len is bungled by the optimizer.
*/
if (len > 0) {
- cwin = tp->snd_cwnd -
- (tp->snd_nxt - tp->snd_recover) -
+ cwin = tp->snd_cwnd - imax(0, (int32_t)
+ (tp->snd_nxt - tp->snd_recover)) -
sack_bytes_rxmt;
if (cwin < 0)
cwin = 0;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 2, 9:42 PM (2 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41343477
Default Alt Text
D36637.1793655769.diff (664 B)
Attached To
Mode
D36637: tcp: fix cwnd restricted SACK retransmission loop
Attached
Detach File
Event Timeline