Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a70d0590 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin Committed by Roland Dreier
Browse files

IB/cm: Do not track remote QPN in timewait state



Do not track remote QPN in TimeWait state, since QP is not connected.

Signed-off-by: default avatarMichael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent c1a0b23b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -685,6 +685,8 @@ static void cm_enter_timewait(struct cm_id_private *cm_id_priv)
{
	int wait_time;

	cm_cleanup_timewait(cm_id_priv->timewait_info);

	/*
	 * The cm_id could be destroyed by the user before we exit timewait.
	 * To protect against this, we search for the cm_id after exiting