io_uring fixes for 6.17-rc4
Jens Axboe
maintainerHi Linus,
Two fixes for the ring provided buffers in this pull request:
- Use the proper type for min_t() in getting the min of the leftover bytes and the buffer length.
- As good practice, use READ_ONCE() consistently for reading ring provided buffer lengths. Additionally, stop looping for incremental commits if a zero sized buffer is hit, as no further progress can be made at that point.
Please pull!
The following changes since commit e4e6aaea46b7be818eba0510ba68d30df8689ea3:
io_uring: clear ->async_data as part of normal init (2025-08-21 13:54:01 -0600)
are available in the Git repository at:
git://git.kernel.dk/linux.git tags/io_uring-6.17-20250828
for you to fetch changes up to 98b6fa62c84f2e129161e976a5b9b3cb4ccd117b:
io_uring/kbuf: always use READ_ONCE() to read ring provided buffer lengths (2025-08-28 05:48:34 -0600)
----------------------------------------------------------------
io_uring-6.17-20250828
----------------------------------------------------------------
Jens Axboe (1):
io_uring/kbuf: always use READ_ONCE() to read ring provided buffer lengths
Qingyue Zhang (1):
io_uring/kbuf: fix signedness in this_len calculation
io_uring/kbuf.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-)
Signature · 1 line
Jens Axboe
The pull request you sent on Thu, 28 Aug 2025 19:27:47 -0600:
The pull request you sent on Thu, 28 Aug 2025 19:27:47 -0600:
Quoted 1 line
git://git.kernel.dk/linux.gittags/io_uring-6.17-20250828
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/220374ab2be5a05dc5e35c9a5337698c942916e1
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html