summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2012-10-29 13:16:33 +0000
committerandre <andre@FreeBSD.org>2012-10-29 13:16:33 +0000
commit844d4d247238e506809ff5262063a37f74c1e8a9 (patch)
treefd0435e951ad001795c2a93f4d0ae1adfa2dc36d /sys/netinet
parent845b471915bebf6248823eea86a57051f9514c1f (diff)
downloadFreeBSD-src-844d4d247238e506809ff5262063a37f74c1e8a9.zip
FreeBSD-src-844d4d247238e506809ff5262063a37f74c1e8a9.tar.gz
Forced commit to provide the correct commit message to r242251:
Defer sending an independent window update if a delayed ACK is pending saving a packet. The window update then gets piggy-backed on the next already scheduled ACK. Added grammar fixes as well. MFC after: 2 weeks
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/tcp_output.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
index 1e590ce..d367674 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -547,13 +547,13 @@ after_sack_rexmit:
/*
* Sending of standalone window updates.
*
- * Window updates important when we close our window due to a full
- * socket buffer and are opening it again after the application
+ * Window updates are important when we close our window due to a
+ * full socket buffer and are opening it again after the application
* reads data from it. Once the window has opened again and the
* remote end starts to send again the ACK clock takes over and
* provides the most current window information.
*
- * We must avoid to the silly window syndrome whereas every read
+ * We must avoid the silly window syndrome whereas every read
* from the receive buffer, no matter how small, causes a window
* update to be sent. We also should avoid sending a flurry of
* window updates when the socket buffer had queued a lot of data
OpenPOWER on IntegriCloud