summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/raw
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2019-06-03 21:24:56 -0700
committerShentubot <shentubot@google.com>2019-06-03 21:26:01 -0700
commit00f8663887cbf9057d93e8848eb9538cf1c0cff4 (patch)
tree19ffeab049ab3a2a77535e9740d4e445fadc77dd /pkg/tcpip/transport/raw
parentf1aee6a7ad261e952bd6f260ede6be32187a1f10 (diff)
gvisor/fs: return a proper error from FileWriter.Write in case of a short-write
The io.Writer contract requires that Write writes all available bytes and does not return short writes. This causes errors with io.Copy, since our own Write interface does not have this same contract. PiperOrigin-RevId: 251368730
Diffstat (limited to 'pkg/tcpip/transport/raw')
0 files changed, 0 insertions, 0 deletions