Re: [PATCH] RDMA/rtrs-clt: Fix CQ pool leak when connect is interrupted

From: Leon Romanovsky

Date: Thu Sep 03 2026 - 06:41:08 EST



On Sun, 30 Aug 2026 15:09:55 +0800, Quanye Yang wrote:
> The client borrows shared CQ credits in the ADDR_RESOLVED handler via
> ib_cq_pool_get(), before the peer is connected. create_cm() can return
> -ERESTARTSYS from wait_event_interruptible_timeout() without destroying
> the CM ID. The init_conns() and stop-and-destroy paths then call
> destroy_con_cq_qp() while cq is still NULL (no PUT) and only afterwards
> rdma_destroy_id().
>
> [...]

Applied, thanks!

[1/1] RDMA/rtrs-clt: Fix CQ pool leak when connect is interrupted
https://git.kernel.org/rdma/rdma/c/2ae16aaa78b5ed

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>