From: sashiko-bot@kernel.org
To: "Serhat Kumral" <serhatkumral1@gmail.com>, linux-rdma@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 10:47:23 +0000 [thread overview]
Message-ID: <sashiko-outbox-172678@kernel.org> (raw)
In-Reply-To: <20261015102518.15780-1-serhatkumral1@gmail.com>
> 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().
>
> Fixes: 5190f052a3654 ("IB/hfi1: Allow the driver to initialize QP priv struct")
> Assisted-by: LLM
> Signed-off-by: Serhat Kumral <serhatkumral1@gmail.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261015102518.15780-1-serhatkumral1@gmail.com?part=1
next prev parent reply other threads:[~2026-10-15 10:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-15 10:25 [PATCH] IB/rdmavt: Fix error unwind path for qp_priv_init() in rvt_create_qp() Serhat Kumral
2026-10-15 10:47 ` sashiko-bot [this message]
2026-10-15 18:26 ` Leon Romanovsky
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=sashiko-outbox-172678@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.