]> git.openfabrics.org - ~shefty/librdmacm.git/commit
librdmacm: Fix crash in rdma_connect
authorSean Hefty <sean.hefty@intel.com>
Tue, 14 Jun 2011 16:36:26 +0000 (09:36 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 22 Aug 2011 20:58:22 +0000 (13:58 -0700)
commitf81ad9bf4c0a54880f26420e2b3825149965a9f3
treee8e3a95d1effb5e4a5b1c0c8fa8b2075fb483fe4
parent6109a7f479eb5dfd00e1c6999d3bf9c4b1a8685a
librdmacm: Fix crash in rdma_connect

When using rdma_connect for UD QP lookup, there may not be any
QP associated with the rdma_cm_id.  Plus there may not be any use
for the conn_param parameter.  Allow conn_param to be optional
in this situation.  This fixes a crash exposed by rdma_xclient
sample using XRC QPs.

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