From: Leon Romanovsky <leon@kernel.org>
To: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>,
Jason Gunthorpe <jgg@ziepe.ca>,
linux-rdma@vger.kernel.org,
Serhat Kumral <serhatkumral1@gmail.com>
Cc: Kaike Wan <kaike.wan@intel.com>,
Mike Marciniszyn <mike.marciniszyn@intel.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] IB/rdmavt: Fix error unwind path for qp_priv_init() in rvt_create_qp()
Date: Thu, 15 Oct 2026 14:26:20 -0400 [thread overview]
Message-ID: <179208878077.363667.13360017652159828549.b4-ty@kernel.org> (raw)
In-Reply-To: <20261015102518.15780-1-serhatkumral1@gmail.com>
On Thu, 15 Oct 2026 13:25:18 +0300, Serhat Kumral wrote:
> If driver_f.qp_priv_init() fails, execution jumps to bail_rq_wq, which
> bypasses bail_qpn. Because alloc_qpn() has already succeeded at this point,
> the allocated QP number is left unreleased.
>
> Jump to bail_qpn instead to ensure the QPN is properly freed via
> rvt_free_qpn().
>
> [...]
Applied, thanks!
[1/1] IB/rdmavt: Fix error unwind path for qp_priv_init() in rvt_create_qp()
https://git.kernel.org/rdma/rdma/c/dd36137b218ad6
Best regards,
--
Leon Romanovsky <leon@kernel.org>
prev parent reply other threads:[~2026-10-15 18:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-15 10:25 Serhat Kumral
2026-10-15 18:26 ` 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=179208878077.363667.13360017652159828549.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=dennis.dalessandro@cornelisnetworks.com \
--cc=jgg@ziepe.ca \
--cc=kaike.wan@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=mike.marciniszyn@intel.com \
--cc=serhatkumral1@gmail.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
all inboxes | Powered by JetHome®