From: Yishai Hadas Date: Thu, 1 Aug 2013 15:49:53 +0000 (+0300) Subject: IB/core: Add locking around event dispatching on XRC target QPs X-Git-Tag: v3.12-rc1~139^2^5~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73c40c616a33fcb7961b3c90a91b550813129b3e;p=pandora-kernel.git IB/core: Add locking around event dispatching on XRC target QPs Fix a potential race when event occurrs on a target XRC QP and in the middle of reporting that on its shared qps, one of them is destroyed by user space application. Also add note for kernel consumers in ib_verbs.h that they must not destroy the QP from within the handler. Signed-off-by: Yishai Hadas Signed-off-by: Jack Morgenstein Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed