[openib-general] [PATCH] CM: transition to timewait when receiving DREP from DREQ_RCVD
Sean Hefty
mshefty at ichips.intel.com
Mon Jan 24 11:04:16 PST 2005
Change to transition to the timewait state when receiving a DREP from the
DREQ_RCVD state.
signed-off-by: Sean Hefty <sean.hefty at intel.com>
Index: core/cm.c
===================================================================
--- core/cm.c (revision 1636)
+++ core/cm.c (working copy)
@@ -1533,7 +1533,8 @@
work->cm_event.private_data = &drep_msg->private_data;
spin_lock_irqsave(&cm_id_priv->lock, flags);
- if (cm_id_priv->id.state != IB_CM_DREQ_SENT) {
+ if (cm_id_priv->id.state != IB_CM_DREQ_SENT &&
+ cm_id_priv->id.state != IB_CM_DREQ_RCVD) {
spin_unlock_irqrestore(&cm_id_priv->lock, flags);
goto out;
}
More information about the general
mailing list