]> git.openfabrics.org - ~ardavis/dapl.git/commit
mpxyd: with abnormal CM termination a CM object can be referenced after QP destroy
authorArlin Davis <arlin.r.davis@intel.com>
Thu, 10 Dec 2015 22:48:05 +0000 (14:48 -0800)
committerArlin Davis <arlin.r.davis@intel.com>
Thu, 10 Dec 2015 22:48:05 +0000 (14:48 -0800)
commitefa6bed3e44f445c68b011662c75e59265805c74
tree615bf7c5a4d7c8f11fc85a838b6e5be555e192e4
parent2b294cd7dcdbccdc235c056791f36bd2821c2b9b
mpxyd: with abnormal CM termination a CM object can be referenced after QP destroy

The proxy-in CQ is not flushed and processes properly during
mix_qp_destroy. Depending on the EP mode there can be 2 seperate
connections with multiple CQs to process. Add new mix_cq_flush
function that will flush all pending work on TX and RX side of
proxy engine. CM object is destroyed and reset only after all
pending work is processed on ALL endpoint CQ associations.
Add error logging when WR resources are exhausted.

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