diff options
| author | Serhat Kumral <serhatkumral1@gmail.com> | 2026-10-15 13:25:18 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-10-15 14:26:11 -0400 |
| commit | dd36137b218ad6f18ed15e6279412d7fc160980c (patch) | |
| tree | 1145e1d5a5a92d9860c2e79ab9fc42c872651ed4 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9165b3f7372bc1547549687f3a113c047ed94a36 (diff) | |
IB/rdmavt: Fix error unwind path for qp_priv_init() in rvt_create_qp()
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")
Signed-off-by: Serhat Kumral <serhatkumral1@gmail.com>
Link: https://patch.msgid.link/20261015102518.15780-1-serhatkumral1@gmail.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
