Re: [PATCH] IB/rdmavt: Fix error unwind path for qp_priv_init() in rvt_create_qp()
From: Leon Romanovsky
Date: Thu Oct 15 2026 - 15:31:48 EST
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@xxxxxxxxxx>