Re: [PATCH] io_uring/net: initialize mshot_len for send
Gabriel Krisman Bertazi <[email protected]> Sun, 26 Jul 2026 20:11:23 -0400
| Newsgroups | org.kernel.vger.io-uring |
|---|---|
| Organization | SUSE |
| Message-ID | <[email protected]> |
Jens Axboe <[email protected]> writes: > Commit: > > 6a8afb9fff64 ("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: 6a8afb9fff64 ("io_uring/net: allow multishot receive per-invocation cap") > Cc: [email protected] > Reported-by: Sung Keum <[email protected]> > Signed-off-by: Jens Axboe <[email protected]> > Reviewed-by: Gabriel Krisman Bertazi <[email protected]> -- Gabriel Krisman Bertazi