From 334326f1e76c07c08f032df1f69f259a088639dd Mon Sep 17 00:00:00 2001 From: Arlin Davis Date: Fri, 3 Dec 2010 14:52:26 -0800 Subject: [PATCH] ucm: decrease timeout retry count for disconnect requests Signed-off-by: Arlin Davis --- dapl/openib_ucm/cm.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.46.0