Date: Mon, 18 Apr 2011 17:43:16 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet tcp_output.c Message-ID: <201104181743.p3IHhXGK022214@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2011-04-18 17:43:16 UTC FreeBSD src repository Modified files: sys/netinet tcp_output.c Log: SVN rev 220794 on 2011-04-18 17:43:16Z by jhb When checking to see if a window update should be sent to the remote peer, don't force a window update if the window would not actually grow due to window scaling. Specifically, if the window scaling factor is larger than 2 * MSS, then after the local reader has drained 2 * MSS bytes from the socket, a window update can end up advertising the same window. If this happens, the supposed window update actually ends up being a duplicate ACK. This can result in an excessive number of duplicate ACKs when using a higher maximum socket buffer size. Reviewed by: bz MFC after: 1 month Revision Changes Path 1.177 +8 -0 src/sys/netinet/tcp_output.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104181743.p3IHhXGK022214>