[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176087418063.150745.13749475166152366151.b4-ty@kernel.org>
Date: Sun, 19 Oct 2025 07:43:00 -0400
From: Leon Romanovsky <leon@...nel.org>
To: Jason Gunthorpe <jgg@...pe.ca>, Leon Romanovsky <leon@...nel.org>,
Shuhao Fu <sfual@....ust.hk>
Cc: linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] RDMA/uverbs: fix umem release in
UVERBS_METHOD_CQ_CREATE
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@...nel.org>
Powered by blists - more mailing lists