Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108409877
D48237.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
449 B
Referenced Files
None
Subscribers
None
D48237.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
@@ -421,8 +421,9 @@
* sending new data, having retransmitted all the
* data possible in the scoreboard.
*/
- len = imin(sbavail(&so->so_snd) - off,
- sendwin - tcp_compute_pipe(tp));
+ len = imax(
+ imin(sbavail(&so->so_snd), sendwin) -
+ imax(tcp_compute_pipe(tp), off), 0);
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 25, 1:40 PM (17 h, 23 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15634143
Default Alt Text
D48237.diff (449 B)
Attached To
Mode
D48237: tcp: don't send beyond receivers advertised window
Attached
Detach File
Event Timeline
Log In to Comment