summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/pci_impl.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-07 17:48:03 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-03 15:19:33 +0200
commit220778af6c7285dbe7a989141074433ea66b3f98 (patch)
tree0c5bafe95a8190ea25fe092854df3d8dbc8d2e23 /arch/sparc/kernel/pci_impl.h
parent3a342fa31840894b28d23dc29f0eaee2eb6862e0 (diff)
io_uring/net: correctly handle multishot recvmsg retry setup
[ Upstream commit deaef31bc1ec7966698a427da8c161930830e1cf ] 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: 9bb66906f23e ("io_uring: support multishot in recvmsg") Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/sparc/kernel/pci_impl.h')
0 files changed, 0 insertions, 0 deletions