linux/drivers/infiniband
Artemy Kovalyov e4ff3d22c1 IB/core: Release object lock if destroy failed
The object lock was supposed to always be released during destroy, but
when the destruction retry series was integrated with the destroy series
it created a failure path that missed the unlock.

Keep with convention, if destroy fails the caller must undo all locking.

Fixes: 87ad80abc7 ("IB/uverbs: Consolidate uobject destruction")
Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-09-04 15:07:55 -06:00
..
core IB/core: Release object lock if destroy failed 2018-09-04 15:07:55 -06:00
hw Second merge window update 2018-08-23 15:34:48 -07:00
sw Linux 4.18 2018-08-16 13:12:00 -06:00
ulp Merge branch 'linus/master' into rdma.git for-next 2018-08-16 14:21:29 -06:00
Kconfig IB/ucm: fix UCM link error 2018-08-21 16:56:32 -06:00
Makefile