[ofw] [PATCH 3/13] DAPL v2.0: scm: return correct event error code when remote host refuses requests
Davis, Arlin R
arlin.r.davis at intel.com
Fri Jan 13 15:54:57 PST 2012
changed from TIMEOUT to NON_PEER_REJECTED
Signed-off-by: Arlin Davis <arlin.r.davis at intel.com>
---
dapl/openib_scm/cm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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);
}
/*
--
1.7.3
More information about the ofw
mailing list