diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-06 02:00:41 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-06 02:00:41 +0000 |
commit | b3a9b1da3837ba2636e621467bb56aad942caf5c (patch) | |
tree | d4f6e42a05e10673e0089528ccc6ed5edb6917c4 /pkg/tcpip/transport/tcp | |
parent | 978eceb6badbbe9e4dea10483920f5c61c4469b0 (diff) | |
parent | f3d95607036b8a502c65aa7b3e8145227274dbbc (diff) |
Merge release-20200127.0-84-gf3d9560 (automated)
Diffstat (limited to 'pkg/tcpip/transport/tcp')
-rw-r--r-- | pkg/tcpip/transport/tcp/endpoint.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/transport/tcp/endpoint.go b/pkg/tcpip/transport/tcp/endpoint.go index b5a8e15ee..e4a6b1b8b 100644 --- a/pkg/tcpip/transport/tcp/endpoint.go +++ b/pkg/tcpip/transport/tcp/endpoint.go @@ -1003,8 +1003,8 @@ func (e *endpoint) Read(*tcpip.FullAddress) (buffer.View, tcpip.ControlMessages, if s == StateError { return buffer.View{}, tcpip.ControlMessages{}, he } - e.stats.ReadErrors.InvalidEndpointState.Increment() - return buffer.View{}, tcpip.ControlMessages{}, tcpip.ErrInvalidEndpointState + e.stats.ReadErrors.NotConnected.Increment() + return buffer.View{}, tcpip.ControlMessages{}, tcpip.ErrNotConnected } v, err := e.readLocked() |