summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/tcp
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-05-16 03:10:09 +0000
committergVisor bot <gvisor-bot@google.com>2020-05-16 03:10:09 +0000
commitc91c8fb48be452a8b40b3ef406bd8b0022359399 (patch)
treeaf7d6820964c8f8fa680e5acbffebabb0c35c471 /pkg/tcpip/transport/tcp
parent314aa01198a8aa1ceefde004b7ec4fbf86bdedc5 (diff)
parent420b791a3d6e0e6e2fc30c6f8be013bce7ca6549 (diff)
Merge release-20200511.0-251-g420b791 (automated)
Diffstat (limited to 'pkg/tcpip/transport/tcp')
-rw-r--r--pkg/tcpip/transport/tcp/endpoint.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/transport/tcp/endpoint.go b/pkg/tcpip/transport/tcp/endpoint.go
index 71735029e..b5ba972f1 100644
--- a/pkg/tcpip/transport/tcp/endpoint.go
+++ b/pkg/tcpip/transport/tcp/endpoint.go
@@ -1097,7 +1097,7 @@ func (e *endpoint) initialReceiveWindow() int {
}
// ModerateRecvBuf adjusts the receive buffer and the advertised window
-// based on the number of bytes copied to user space.
+// based on the number of bytes copied to userspace.
func (e *endpoint) ModerateRecvBuf(copied int) {
e.LockUser()
defer e.UnlockUser()