diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-06-03 02:22:30 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-03 02:22:30 +0000 |
commit | 88cd4b103458fc4bc43b344dad23e88c5bf7f850 (patch) | |
tree | da475202d204d89aed36e7a4ea68dcc76098da43 /pkg/sentry/socket/unix/transport | |
parent | 272476a6813e871ce68f1d29e3bba92f3e0b6f8f (diff) | |
parent | e6334e81ca8d951e56f03d8ea0629e3c85556cf1 (diff) |
Merge release-20200522.0-65-ge6334e81 (automated)
Diffstat (limited to 'pkg/sentry/socket/unix/transport')
-rw-r--r-- | pkg/sentry/socket/unix/transport/connectioned.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/socket/unix/transport/connectioned.go b/pkg/sentry/socket/unix/transport/connectioned.go index ce5b94ee7..09c6d3b27 100644 --- a/pkg/sentry/socket/unix/transport/connectioned.go +++ b/pkg/sentry/socket/unix/transport/connectioned.go @@ -252,7 +252,7 @@ func (e *connectionedEndpoint) Close() { // BidirectionalConnect implements BoundEndpoint.BidirectionalConnect. func (e *connectionedEndpoint) BidirectionalConnect(ctx context.Context, ce ConnectingEndpoint, returnConnect func(Receiver, ConnectedEndpoint)) *syserr.Error { if ce.Type() != e.stype { - return syserr.ErrConnectionRefused + return syserr.ErrWrongProtocolForSocket } // Check if ce is e to avoid a deadlock. |