]> git.openfabrics.org - ~ardavis/dapl.git/commit
cma: cannot reuse the cm_id and qp for new connection, must reallocate a new one.
authorArlin Davis <arlin.r.davis@intel.com>
Fri, 2 Oct 2009 21:48:15 +0000 (14:48 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Fri, 2 Oct 2009 21:48:15 +0000 (14:48 -0700)
commita5f1220cfd96983c9c89a595d80fab7ddcb1a954
tree1f3e29e586ee50029c879ab817dd580397fa0022
parent7b07435495de0938e59be064fe8642cfd739f1ac
cma: cannot reuse the cm_id and qp for new connection, must reallocate a new one.

When merging common code base the dapls_ib_reinit_ep mistakely
modified QP to reset then init for all providers. Will
not work for rdma_cm (cma provider) since the cm_id cannot
be reused.  Add build check for _OPENIB_CMA_ to pull in correct
free and reallocate method for reinit_ep.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dapl/openib_common/qp.c