summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-11-03 18:06:48 +0000
committergVisor bot <gvisor-bot@google.com>2020-11-03 18:06:48 +0000
commita3394819957946132737afb19d2e4faf73c49bf1 (patch)
treef1d4a8e2ac55fb9b41778b252f8c732f5e505e70 /pkg/tcpip
parentc623683bc17e532a448f95ee73e14b896185c417 (diff)
parent66d24bb69228ef264de51c8306785780874ebdc3 (diff)
Merge release-20201027.0-58-g66d24bb69 (automated)
Diffstat (limited to 'pkg/tcpip')
-rw-r--r--pkg/tcpip/transport/tcp/connect.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/tcpip/transport/tcp/connect.go b/pkg/tcpip/transport/tcp/connect.go
index fe4bc56f5..f5f7be195 100644
--- a/pkg/tcpip/transport/tcp/connect.go
+++ b/pkg/tcpip/transport/tcp/connect.go
@@ -496,7 +496,9 @@ func (h *handshake) resolveRoute() *tcpip.Error {
}
// Wait for notification.
+ h.ep.mu.Unlock()
index, _ = s.Fetch(true /* block */)
+ h.ep.mu.Lock()
}
}