diff options
author | Brian Geffon <bgeffon@google.com> | 2018-06-22 10:18:19 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-06-22 10:19:25 -0700 |
commit | 5d45f88f2c2840123e2f5ec2e45ac6d5b5a5729f (patch) | |
tree | d20dc462747456e626fac898d02e36a188e00f73 /pkg/sentry/kernel | |
parent | e1aee51d09d650cca8d098050665c2d49d859e26 (diff) |
Netstack should return EOF on closed read.
The shutdown behavior where we return EAGAIN for sockets
which are non-blocking is only correct for packet based sockets.
SOCK_STREAM sockets should return EOF.
PiperOrigin-RevId: 201703055
Change-Id: I20b25ceca7286c37766936475855959706fc5397
Diffstat (limited to 'pkg/sentry/kernel')
0 files changed, 0 insertions, 0 deletions