Re: [PATCH v4] IB/mlx4: Fix stale CM id_map entries when RTU is never received

From: Leon Romanovsky

Date: Thu Jul 16 2026 - 04:32:56 EST



On Wed, 15 Jul 2026 08:07:38 +0000, Praveen Kumar Kannoju wrote:
> mlx4_ib_multiplex_cm_handler() allocates an id_map_entry for CM
> transactions, but the entry is normally released only on DREQ or REJ
> flows.
>
> In the duplicate REP handling scenario, cm_dup_rep_handler() may be
> invoked when the remote side receives a REP for which no matching
> cm_id_priv exists. In such cases the CM handshake never reaches RTU, and
> the sender side may never receive either DREQ or REJ cleanup events.
>
> [...]

Applied, thanks!

[1/1] IB/mlx4: Fix stale CM id_map entries when RTU is never received
https://git.kernel.org/rdma/rdma/c/548897f0f78837

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