summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux
diff options
context:
space:
mode:
authorBhasker Hariharan <bhaskerh@google.com>2020-11-17 22:56:44 -0800
committergVisor bot <gvisor-bot@google.com>2020-11-17 22:58:53 -0800
commit0e32d98f3a5d4f81459635efcaa53898f43996b9 (patch)
treeb1ddd76e2121e2d2f970203fa612bd9ef5e13b8e /test/syscalls/linux
parentee6dd8cb97128e996c5ce41f22866edc91907eae (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 'test/syscalls/linux')
0 files changed, 0 insertions, 0 deletions