diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2020-11-17 22:56:44 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-17 22:58:53 -0800 |
commit | 0e32d98f3a5d4f81459635efcaa53898f43996b9 (patch) | |
tree | b1ddd76e2121e2d2f970203fa612bd9ef5e13b8e /pkg/tcpip/link/muxed/BUILD | |
parent | ee6dd8cb97128e996c5ce41f22866edc91907eae (diff) |
Fix endpoint.Read() when endpoint is in StateError.
If the endpoint is in StateError but e.hardErrorLocked() returns
nil then return ErrClosedForRecieve.
This can happen if a concurrent write on the same endpoint was in progress
when the endpoint transitioned to an error state.
PiperOrigin-RevId: 343018257
Diffstat (limited to 'pkg/tcpip/link/muxed/BUILD')
0 files changed, 0 insertions, 0 deletions