From: Alexander Schmidt Date: Tue, 12 Aug 2008 13:46:27 +0000 (+0200) Subject: IB/ehca: Check idr_find() return value X-Git-Tag: v2.6.27-rc3~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=129a10fb81309f455eeb444560ec38657d29c46f;p=pandora-kernel.git IB/ehca: Check idr_find() return value The idr_find() function may fail when trying to get the QP that is associated with a CQE, e.g. when a QP has been destroyed between the generation of a CQE and the poll request for it. In consequence, the return value of idr_find() must be checked and the CQE must be discarded when the QP cannot be found. Signed-off-by: Alexander Schmidt Signed-off-by: Roland Dreier --- Reading git-diff-tree failed