IB/uverbs: Fix unlocking in error paths
authorMichael S. Tsirkin <mst@mellanox.co.il>
Mon, 17 Jul 2006 15:20:51 +0000 (18:20 +0300)
committerRoland Dreier <rolandd@cisco.com>
Sun, 23 Jul 2006 22:16:03 +0000 (15:16 -0700)
ib_uverbs_create_ah() and ib_uverbs_create_srq() did not release the
PD's read lock in their error paths, which lead to deadlock when
destroying the PD.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found