From: Yishai Hadas Date: Thu, 1 Aug 2013 15:49:54 +0000 (+0300) Subject: IB/core: Fixes to XRC reference counting in uverbs X-Git-Tag: v3.12-rc1~139^2^5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=846be90d810c285f6474f53abf1f928e1113830e;p=pandora-kernel.git IB/core: Fixes to XRC reference counting in uverbs Added reference counting mechanism for XRC target QPs between ib_uqp_object and its ib_uxrcd_object. This prevents closing an XRC domain that is still attached to a QP. In addition, add missing code in ib_uverbs_destroy_srq() to handle ib_uxrcd_object reference counting correctly when destroying an xsrq. 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