Skip to content

Commit

Permalink
IB/cm: Do not track remote QPN in timewait state
Browse files Browse the repository at this point in the history
Do not track remote QPN in TimeWait state, since QP is not connected.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
  • Loading branch information
Michael S. Tsirkin authored and Roland Dreier committed Sep 22, 2006
1 parent c1a0b23 commit a70d059
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/infiniband/core/cm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a70d059

Please sign in to comment.