From: Don Wood Date: Sun, 6 Sep 2009 03:36:37 +0000 (-0700) Subject: RDMA/nes: Clean out CQ completions when QP is destroyed X-Git-Tag: v2.6.32-rc1~736^2~1^8~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ee21fe0eaf68fb840f442131ab7addced1a31c3;p=pandora-kernel.git RDMA/nes: Clean out CQ completions when QP is destroyed When a QP is destroyed, unprocessed CQ entries could still reference the QP. This change zeroes the context value at QP destroy time. By skipping over cqe's with a zero context, poll_cq no longer processes a cqe for a destroyed QP. Signed-off-by: Don Wood Signed-off-by: Roland Dreier --- Reading git-diff-tree failed