diff options
author | Fabricio Voznika <fvoznika@google.com> | 2019-08-30 17:17:45 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-08-30 17:19:09 -0700 |
commit | 502c47f7a70a088213faf27b60e6f62ece4dd765 (patch) | |
tree | 13b73dc3c16828fbaa029d73e944f16ef7fc161b /pkg/gate/gate.go | |
parent | 3ec0b64d8c7d1649fd06291f3b5d0a3ca6db98d6 (diff) |
Return correct buffer size for ioctl(socket, FIONREAD)
Ioctl was returning just the buffer size from epsocket.endpoint
and it was not considering data from epsocket.SocketOperations
that was read from the endpoint, but not yet sent to the caller.
PiperOrigin-RevId: 266485461
Diffstat (limited to 'pkg/gate/gate.go')
0 files changed, 0 insertions, 0 deletions