From b880f8a612f1b031aa403a2a924ab605b28f2986 Mon Sep 17 00:00:00 2001 From: Arlin Davis Date: Fri, 2 Dec 2011 15:31:09 -0800 Subject: [PATCH] scm: return correct event error code when remote host refuses requests changed from TIMEOUT to NON_PEER_REJECTED Signed-off-by: Arlin Davis --- dapl/openib_scm/cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dapl/openib_scm/cm.c b/dapl/openib_scm/cm.c index b45a4ab..586e1b0 100644 --- a/dapl/openib_scm/cm.c +++ b/dapl/openib_scm/cm.c @@ -578,7 +578,7 @@ static void dapli_socket_connected(dp_ib_cm_handle_t cm_ptr, int err) bail: /* mark CM object for cleanup */ dapli_cm_free(cm_ptr); - dapl_evd_connection_callback(NULL, IB_CME_TIMEOUT, NULL, 0, ep_ptr); + dapl_evd_connection_callback(NULL, IB_CME_DESTINATION_REJECT, NULL, 0, ep_ptr); } /* -- 2.41.0