From: Leon Romanovsky <leon@kernel.org>
To: Jason Gunthorpe <jgg@ziepe.ca>, Leon Romanovsky <leon@kernel.org>,
Shuhao Fu <sfual@cse.ust.hk>
Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] RDMA/uverbs: fix umem release in UVERBS_METHOD_CQ_CREATE
Date: Sun, 19 Oct 2025 07:43:00 -0400 [thread overview]
Message-ID: <176087418063.150745.13749475166152366151.b4-ty@kernel.org> (raw)
In-Reply-To: <aOh1le4YqtYwj-hH@osx.local>
On Fri, 10 Oct 2025 10:55:17 +0800, Shuhao Fu wrote:
> In `UVERBS_METHOD_CQ_CREATE`, umem should be released if anything goes
> wrong. Currently, if `create_cq_umem` fails, umem would not be
> released or referenced, causing a possible leak.
>
> In this patch, we release umem at `UVERBS_METHOD_CQ_CREATE`, the driver
> should not release umem if it returns an error code.
>
> [...]
Applied, thanks!
[1/1] RDMA/uverbs: fix umem release in UVERBS_METHOD_CQ_CREATE
https://git.kernel.org/rdma/rdma/c/d8713158faad0f
Best regards,
--
Leon Romanovsky <leon@kernel.org>
prev parent reply other threads:[~2025-10-19 11:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-10 2:55 Shuhao Fu
2025-10-19 11:43 ` Leon Romanovsky [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=176087418063.150745.13749475166152366151.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=jgg@ziepe.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=sfual@cse.ust.hk \
/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
all inboxes | Powered by JetHome®