]> git.openfabrics.org - ~ardavis/dapl.git/commit
ibal: sync QP destruction and device close
authorArlin Davis <arlin.r.davis@intel.com>
Mon, 13 Sep 2010 23:19:44 +0000 (16:19 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Mon, 13 Sep 2010 23:19:44 +0000 (16:19 -0700)
commit9a52436fab39201ccccc76cde10c0fc6f54f5585
treef8bbb90798e80d1a9966dd14c9fff5ddf0dc57a9
parent8b9b644ad2b33f1e21a43be364feee6dd4fc13ec
ibal: sync QP destruction and device close

Make QP destruction synchronous to ensure that no callbacks are
in progress for a QP after dapl has destroyed it.  This fixes a
use after free error accessing the dapl ep structure from a qp
callback that results in an application crash.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
dapl/ibal/dapl_ibal_qp.c
dapl/ibal/dapl_ibal_util.c