From: Leon Romanovsky <leon@kernel.org>
To: jgg@ziepe.ca, Wentao Liang <vulab@iscas.ac.cn>
Cc: linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org,
markzhang@nvidia.com, phaddad@nvidia.com,
stable@vger.kernel.org
Subject: Re: [PATCH 5/5] RDMA/mlx5: Fix RQ resource reference leak in mlx5_ib_wq_event()
Date: Wed, 23 Sep 2026 04:08:27 -0400 [thread overview]
Message-ID: <179015090740.3392134.1949790134082058932.b4-ty@kernel.org> (raw)
In-Reply-To: <20260916183921.2092821-1-vulab@iscas.ac.cn>
On Wed, 16 Sep 2026 18:39:21 +0000, Wentao Liang wrote:
> Since commit 312b8f79eb05 ("RDMA/mlx: Calling qp event handler in
> workqueue context") rsc_event_notifier() expects the event handler to
> drop the resource reference taken by mlx5_get_rsc(). mlx5_ib_wq_event()
> was missed by that conversion, so every RQ event leaks one reference,
> which keeps destroy_resource_common() waiting on the completion.
>
> Put the resource reference on all exits of the handler.
>
> [...]
Applied, thanks!
[5/5] RDMA/mlx5: Fix RQ resource reference leak in mlx5_ib_wq_event()
https://git.kernel.org/rdma/rdma/c/65f3eab4319444
Best regards,
--
Leon Romanovsky <leon@kernel.org>
prev parent reply other threads:[~2026-09-23 8:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-16 18:39 Wentao Liang
2026-09-23 8:08 ` 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=179015090740.3392134.1949790134082058932.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=markzhang@nvidia.com \
--cc=phaddad@nvidia.com \
--cc=stable@vger.kernel.org \
--cc=vulab@iscas.ac.cn \
/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®