]> git.openfabrics.org - ~shefty/librdmacm.git/commit
librdmacm Pass back the status or errno in RDMA CM events.
authorSteve Wise <swise@opengridcomputing.com>
Fri, 15 Dec 2006 22:56:06 +0000 (16:56 -0600)
committerSean Hefty <sean.hefty@intel.com>
Thu, 28 Dec 2006 23:56:00 +0000 (15:56 -0800)
commitbee1f7fe154189c5d8ce162d93e8ad0c5e09a6b7
treeca0d671acb0cd48c05c06573da9142d12e139ae8
parent98d545307a299997c01a5141383075147cbe33bb
librdmacm Pass back the status or errno in RDMA CM events.

The librdmacm code isn't passing back the errno in all events.

For example, if a connection request times out the kernel CMA will pass
up event RDMA_CM_EVENT_UNREACHABLE with the status set to -ETIMEDOUT.
This errno isn't currently passed back to the librdmacm user in the event.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/cma.c