Files
linux-stable-mirror/io_uring
Jens Axboe 63b361f228 io_uring/net: initialize mshot_len for send
commit c77ffbc980 upstream.

Commit:

6a8afb9fff ("io_uring/net: allow multishot receive per-invocation cap")

changed how io_mshot_prep_retry() set sr->len, and added the same
initialization in io_mshot_prep_retry(). But it neglected to touch the
send path, which may also uses the mshot retry path. Ensure that
sr->mshot_len always gets initialized correctly.

Fixes: 6a8afb9fff ("io_uring/net: allow multishot receive per-invocation cap")
Cc: stable@vger.kernel.org
Reported-by: Sung Keum <kambodi127@gmail.com>
Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-08-09 20:25:16 +02:00
..
…
…
…
…
…
…
…
…
…
2026-02-16 10:19:40 +01:00
…
2025-09-08 08:06:37 -06:00
…
2026-05-23 13:07:11 +02:00
…
…
…
…
2025-06-23 09:00:12 -06:00
2025-09-08 08:06:37 -06:00
…
2025-07-16 16:23:28 -06:00
…
…
…
…
…
…
…
…
…
…
…
2025-11-03 08:55:58 -07:00