Page MenuHomeFreeBSD

D7076.diff
No OneTemporary

D7076.diff

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

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)

Event Timeline