Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109857537
D7076.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
687 B
Referenced Files
None
Subscribers
None
D7076.diff
View Options
Index: sys/netinet/tcp_output.c
===================================================================
--- sys/netinet/tcp_output.c
+++ sys/netinet/tcp_output.c
@@ -655,10 +655,11 @@
oldwin = 0;
/*
- * If the new window size ends up being the same as the old
- * size when it is scaled, then don't force a window update.
+ * If the new window size ends up being the same as or less
+ * than the old size when it is scaled, then don't force
+ * a window update.
*/
- if (oldwin >> tp->rcv_scale == (adv + oldwin) >> tp->rcv_scale)
+ if (oldwin >> tp->rcv_scale >= (adv + oldwin) >> tp->rcv_scale)
goto dontupdate;
if (adv >= (int32_t)(2 * tp->t_maxseg) &&
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 11, 10:17 AM (11 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16593279
Default Alt Text
D7076.diff (687 B)
Attached To
Mode
D7076: FFL: (optimization) Skip some logic if new window size is <= old window size
Attached
Detach File
Event Timeline
Log In to Comment