mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-24 19:10:26 +00:00
io_uring/net: correctly handle multishot recvmsg retry setup
[ Upstream commitdeaef31bc1] If we loop for multishot receive on the initial attempt, and then abort later on to wait for more, we miss a case where we should be copying the io_async_msghdr from the stack to stable storage. This leads to the next retry potentially failing, if the application had the msghdr on the stack. Cc: stable@vger.kernel.org Fixes:9bb66906f2("io_uring: support multishot in recvmsg") Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
1a6efd4c28
commit
f55ecbd9a7
1 changed files with 2 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue