Re: [PATCH] IB/mlx5: Fix memory leak in GSI QP destroy error path
From: Prathamesh Deshpande
Date: Tue Mar 31 2026 - 14:19:03 EST
On Tue, Mar 31, 2026 at 04:45:08PM +0300, Leon Romanovsky wrote:
> GSI QP are different from other "best-effort" failures. It MUST to fail.
> We are intentionally leaking resources here.
Hi Leon,
Thank you for the explanation.
I understand now that for GSI QPs, the hardware constraints make a
memory leak preferable to the risk of an inconsistency in this
failure path.
I'll keep this in mind for future mlx5 cleanup patches.
Thanks,
Prathamesh