summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-04-22 23:38:19 +0000
committergVisor bot <gvisor-bot@google.com>2021-04-22 23:38:19 +0000
commit263d3a106bd707da59e359a88a9114b1e09c5eee (patch)
tree5bd0a055cb79c86f17e089734142629094bacef3 /pkg/sentry/socket
parent42ab6ba3f895199ebcad7093dc2f7e98133898ae (diff)
parent2739cf46284f2786ad33b545d55b8178bc46f7de (diff)
Merge release-20210419.0-22-g2739cf462 (automated)
Diffstat (limited to 'pkg/sentry/socket')
-rw-r--r--pkg/sentry/socket/unix/transport/connectioned.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/socket/unix/transport/connectioned.go b/pkg/sentry/socket/unix/transport/connectioned.go
index 408dfb08d..33f9aeb06 100644
--- a/pkg/sentry/socket/unix/transport/connectioned.go
+++ b/pkg/sentry/socket/unix/transport/connectioned.go
@@ -346,11 +346,11 @@ func (e *connectionedEndpoint) BidirectionalConnect(ctx context.Context, ce Conn
return nil
default:
- // Busy; return ECONNREFUSED per spec.
+ // Busy; return EAGAIN per spec.
ne.Close(ctx)
e.Unlock()
ce.Unlock()
- return syserr.ErrConnectionRefused
+ return syserr.ErrTryAgain
}
}