diff options
author | Ian Gudger <igudger@google.com> | 2019-06-19 18:39:55 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-06-19 18:40:54 -0700 |
commit | 7e49515696f628a41ed63199570d25dfbe9d8848 (patch) | |
tree | 43017d9dd630241a584d7e9368ac814ae611914a /pkg/tcpip/buffer/view.go | |
parent | c2d87d5d7cd1b7c9e601bfabdcbf53aebfb89de4 (diff) |
Deflake SendFileTest_Shutdown.
The sendfile syscall's backing doSplice contained a race with regard to
blocking. If the first attempt failed with syserror.ErrWouldBlock and then
the blocking file became ready before registering a waiter, we would just
return the ErrWouldBlock (even if we were supposed to block).
PiperOrigin-RevId: 254114432
Diffstat (limited to 'pkg/tcpip/buffer/view.go')
0 files changed, 0 insertions, 0 deletions