Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109445740
D36637.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
664 B
Referenced Files
None
Subscribers
None
D36637.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
Thu, Feb 6, 4:14 AM (10 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16486671
Default Alt Text
D36637.diff (664 B)
Attached To
Mode
D36637: tcp: fix cwnd restricted SACK retransmission loop
Attached
Detach File
Event Timeline
Log In to Comment