diff options
author | Brian Geffon <bgeffon@google.com> | 2018-08-07 07:56:08 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-08-07 07:57:20 -0700 |
commit | d839dc13c689f853fd87c495c26208048a540919 (patch) | |
tree | 4776c32bdcef43e3a02d6d1a75d6d4457a6d697e /pkg/tcpip/transport/tcp | |
parent | 9752174a7f211328c0ff59f8ed6c51325a6fc23d (diff) |
Netstack doesn't handle sending after SHUT_WR correctly.
PiperOrigin-RevId: 207715032
Change-Id: I7b6690074c5be283145192895d706a92e921b22c
Diffstat (limited to 'pkg/tcpip/transport/tcp')
-rw-r--r-- | pkg/tcpip/transport/tcp/endpoint.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/transport/tcp/endpoint.go b/pkg/tcpip/transport/tcp/endpoint.go index 8bfb68f91..e1b71e423 100644 --- a/pkg/tcpip/transport/tcp/endpoint.go +++ b/pkg/tcpip/transport/tcp/endpoint.go @@ -1024,7 +1024,7 @@ func (e *endpoint) Shutdown(flags tcpip.ShutdownFlags) *tcpip.Error { } default: - return tcpip.ErrInvalidEndpointState + return tcpip.ErrNotConnected } return nil |