summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/tcp
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-05-29 19:46:01 +0000
committergVisor bot <gvisor-bot@google.com>2020-05-29 19:46:01 +0000
commitf28398df6977b7121aadf35aadc4ded3b594fca9 (patch)
treed9996637affb5eb4cccebba46823753aa4df4294 /pkg/tcpip/transport/tcp
parentaae3ec6244d64da47a6f52d1165f9dbf9723fcd9 (diff)
parent089c88f2e87fb14cead02caea7f9dba0a5957395 (diff)
Merge release-20200522.0-34-g089c88f2 (automated)
Diffstat (limited to 'pkg/tcpip/transport/tcp')
-rw-r--r--pkg/tcpip/transport/tcp/connect.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/tcpip/transport/tcp/connect.go b/pkg/tcpip/transport/tcp/connect.go
index a7e088d4e..e4a06c9e1 100644
--- a/pkg/tcpip/transport/tcp/connect.go
+++ b/pkg/tcpip/transport/tcp/connect.go
@@ -1347,6 +1347,7 @@ func (e *endpoint) protocolMainLoop(handshake bool, wakerInitDone chan<- struct{
e.setEndpointState(StateError)
e.HardError = err
+ e.workerCleanup = true
// Lock released below.
epilogue()
return err