From: Tom Tucker Date: Thu, 1 May 2008 16:13:50 +0000 (-0500) Subject: svcrdma: Move the QP and cm_id destruction to svc_rdma_free X-Git-Tag: v2.6.26-rc4~90^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1711386c62c97f7fb086a2247d44cdb1f8867640;p=pandora-kernel.git svcrdma: Move the QP and cm_id destruction to svc_rdma_free Move the destruction of the QP and CM_ID to the free path so that the QP cleanup code doesn't race with the dto_tasklet handling flushed WR. The QP reference is not needed because we now have a reference for every WR. Also add a guard in the SQ and RQ completion handlers to ignore calls generated by some providers when the QP is destroyed. Signed-off-by: Tom Tucker --- Reading git-diff-tree failed