From: Shlomo Pongratz Date: Wed, 10 Apr 2013 14:26:46 +0000 (+0000) Subject: IB/core: Verify that QP handler is valid before dispatching events X-Git-Tag: v3.10-rc1~43^2^5~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eec9e29fc5e9b417649830ab76a3aa10b90d2e9f;p=pandora-kernel.git IB/core: Verify that QP handler is valid before dispatching events For QPs of type IB_QPT_XRC_TGT the IB core assigns a common event handler __ib_shared_qp_event_handler(), and the optionally supplied event handler is stored. When the common handler is called it iterates on all opened QPs and calles the original handlers without checking if they are NULL. Fix that. Signed-off-by: Shlomo Pongratz Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed