diff mbox

[3/4] DAPL v2.0: ucm: decrease timeout retry count for disconnect requests

Message ID E3280858FA94444CA49D2BA02341C983011C4D94F8@orsmsx506.amr.corp.intel.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Arlin Davis Dec. 3, 2010, 11:33 p.m. UTC
None
diff mbox

Patch

diff --git a/dapl/openib_ucm/cm.c b/dapl/openib_ucm/cm.c
index fd3106a..36291fd 100644
--- a/dapl/openib_ucm/cm.c
+++ b/dapl/openib_ucm/cm.c
@@ -341,6 +341,7 @@  static void ucm_process_recv(ib_hca_transport_t *tp,
 		break;
 	case DCM_CONNECTED: /* active and passive */
 		/* DREQ, change state and process */
+		cm->retries = 2; 
 		if (ntohs(msg->op) == DCM_DREQ) {
 			cm->state = DCM_DISC_RECV;
 			dapl_os_unlock(&cm->lock);