Skip to content
Snippets Groups Projects
user avatar
Jens Axboe authored
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: default avatarConstantine Gavrilov <constantine.gavrilov@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
7ba89d2a
History
Name Last commit Last update