提交 a70d0590 编写于 作者: M Michael S. Tsirkin 提交者: Roland Dreier

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: NMichael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: NRoland Dreier <rolandd@cisco.com>
上级 c1a0b23b
...@@ -685,6 +685,8 @@ static void cm_enter_timewait(struct cm_id_private *cm_id_priv) ...@@ -685,6 +685,8 @@ static void cm_enter_timewait(struct cm_id_private *cm_id_priv)
{ {
int wait_time; int wait_time;
cm_cleanup_timewait(cm_id_priv->timewait_info);
/* /*
* The cm_id could be destroyed by the user before we exit timewait. * 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 * To protect against this, we search for the cm_id after exiting
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册