diff options
author | Michael S. Tsirkin <mst@mellanox.co.il> | 2006-08-28 09:32:50 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-09-22 18:22:53 -0400 |
commit | a70d059009f4a207e2a9c794f40fc8c870096d54 (patch) | |
tree | 80c8e31f8db32d1eb1974218886baa2c196d6ab0 /drivers/infiniband | |
parent | c1a0b23bf477c2e1068905f4e2b5c3cee139e853 (diff) |
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: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/core/cm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/core/cm.c b/drivers/infiniband/core/cm.c index e130d2e89515..f35fcc4c0638 100644 --- a/drivers/infiniband/core/cm.c +++ b/drivers/infiniband/core/cm.c | |||
@@ -685,6 +685,8 @@ static void cm_enter_timewait(struct cm_id_private *cm_id_priv) | |||
685 | { | 685 | { |
686 | int wait_time; | 686 | int wait_time; |
687 | 687 | ||
688 | cm_cleanup_timewait(cm_id_priv->timewait_info); | ||
689 | |||
688 | /* | 690 | /* |
689 | * The cm_id could be destroyed by the user before we exit timewait. | 691 | * The cm_id could be destroyed by the user before we exit timewait. |
690 | * To protect against this, we search for the cm_id after exiting | 692 | * To protect against this, we search for the cm_id after exiting |