summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorIan Gudger <igudger@google.com>2018-05-23 14:27:52 -0700
committerShentubot <shentubot@google.com>2018-05-23 14:28:43 -0700
commit02ad0dc3d9909fb93dd41d7f8976be4fc54a99d5 (patch)
treeabfdb1ece003540decad9a1ffecd9ce15b389a67 /pkg
parent51c95c270be3e0c3867c1bc93cc454b32b276721 (diff)
Fix typo in TCP transport
PiperOrigin-RevId: 197789418 Change-Id: I86b1574c8d3b8b321348d9b101ffaef7aa15f722
Diffstat (limited to 'pkg')
-rw-r--r--pkg/tcpip/transport/tcp/connect.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/transport/tcp/connect.go b/pkg/tcpip/transport/tcp/connect.go
index 4cc0d733d..efd69fa86 100644
--- a/pkg/tcpip/transport/tcp/connect.go
+++ b/pkg/tcpip/transport/tcp/connect.go
@@ -818,7 +818,7 @@ func (e *endpoint) protocolMainLoop(passive bool) *tcpip.Error {
var closeWaker sleep.Waker
defer func() {
- // e.mu is expected to be hold upon entering this section.
+ // e.mu is expected to be held upon entering this section.
e.waiterQueue.Notify(waiter.EventIn | waiter.EventOut)
e.completeWorkerLocked()