From: Jens Axboe <axboe@kernel.dk>
To: io-uring@vger.kernel.org, Pavel Begunkov <asml.silence@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH io_uring 1/1] io_uring/zcrx: improve types for size calculation
Date: Tue, 10 Feb 2026 05:26:27 -0700 [thread overview]
Message-ID: <177072638785.481609.146411505603287880.b4-ty@kernel.dk> (raw)
In-Reply-To: <ebd70ad4ce36d8487ac994ed464b97aa08d8ed3b.1770314615.git.asml.silence@gmail.com>
On Thu, 05 Feb 2026 18:04:43 +0000, Pavel Begunkov wrote:
> Make sure io_import_umem() promotes the type to long before calculating
> the area size. While the area size is capped at 1GB by
> io_validate_user_buf_range() and fits into an "int", it's still too
> error prone.
>
>
Applied, thanks!
[1/1] io_uring/zcrx: improve types for size calculation
commit: 417d029dc412c1028bce3d4685700332c0539a95
Best regards,
--
Jens Axboe
prev parent reply other threads:[~2026-02-10 12:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-05 18:04 [PATCH io_uring 1/1] io_uring/zcrx: improve types for size calculation Pavel Begunkov
2026-02-10 12:26 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=177072638785.481609.146411505603287880.b4-ty@kernel.dk \
--to=axboe@kernel.dk \
--cc=asml.silence@gmail.com \
--cc=io-uring@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox