From: Leon Romanovsky <leon@kernel.org>
To: Jason Gunthorpe <jgg@ziepe.ca>, Leon Romanovsky <leon@kernel.org>
Cc: Patrisious Haddad <phaddad@nvidia.com>,
linux-rdma@vger.kernel.org, Mark Zhang <markzhang@nvidia.com>
Subject: Re: [PATCH rdma-rc] RDMA/mlx5: Fix bind QP error cleanup flow
Date: Sun, 23 Feb 2025 03:35:54 -0500 [thread overview]
Message-ID: <174029975417.496289.13811109051862973146.b4-ty@kernel.org> (raw)
In-Reply-To: <25dfefddb0ebefa668c32e06a94d84e3216257cf.1740033937.git.leon@kernel.org>
On Thu, 20 Feb 2025 08:47:10 +0200, Leon Romanovsky wrote:
> When there is a failure during bind QP, the cleanup flow destroys the
> counter regardless if it is the one that created it or not, which is
> problematic since if it isn't the one that created it, that counter could
> still be in use.
>
> Fix that by destroying the counter only if it was created during this call.
>
> [...]
Applied, thanks!
[1/1] RDMA/mlx5: Fix bind QP error cleanup flow
https://git.kernel.org/rdma/rdma/c/e1a0bdbdfdf084
Best regards,
--
Leon Romanovsky <leon@kernel.org>
prev parent reply other threads:[~2025-02-23 8:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-20 6:47 [PATCH rdma-rc] RDMA/mlx5: Fix bind QP error cleanup flow Leon Romanovsky
2025-02-20 12:23 ` Zhu Yanjun
2025-02-23 8:33 ` Leon Romanovsky
2025-02-23 8:35 ` 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=174029975417.496289.13811109051862973146.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=jgg@ziepe.ca \
--cc=linux-rdma@vger.kernel.org \
--cc=markzhang@nvidia.com \
--cc=phaddad@nvidia.com \
/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