Skip to contentSkip to conversation

io_uring fixes for 6.17-rc4

GIT PULL Merged Jens Axboe 2 participants 2 messages Aug 29, 2025 io_uring

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

Hi 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