summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-03-23 09:32:35 -0600
committerJens Axboe <axboe@kernel.dk>2022-03-23 16:40:20 -0600
commit7ba89d2af17aa879dda30f5d5d3f152e587fc551 (patch)
treec702aa2fdea4a5ca0af2dd672e23ce890d8b20c0 /include/linux/fpga/fpga-bridge.h
parent4d55f238f8b89124f73e50abbd05e413def514fe (diff)
io_uring: ensure recv and recvmsg handle MSG_WAITALL correctly
We currently don't attempt to get the full asked for length even if MSG_WAITALL is set, if we get a partial receive. If we do see a partial receive, then just note how many bytes we did and return -EAGAIN to get it retried. The iov is advanced appropriately for the vector based case, and we manually bump the buffer and remainder for the non-vector case. Cc: stable@vger.kernel.org Reported-by: Constantine Gavrilov <constantine.gavrilov@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions