]> git.baikalelectronics.ru Git - kernel.git/commit
IB/uverbs: Lower the test for ongoing disassociation
authorJason Gunthorpe <jgg@mellanox.com>
Thu, 26 Jul 2018 03:40:16 +0000 (21:40 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 1 Aug 2018 20:55:48 +0000 (14:55 -0600)
commit2a7f9bb51dbc71250ad13faffccb486b66311c75
treedede1f553f6725ab52071442f422fd36a170acf9
parent495e8264aa7c967b2dc51c8be96d17f1327a898f
IB/uverbs: Lower the test for ongoing disassociation

Commands that are reading/writing to objects can test for an ongoing
disassociation during their initial call to rdma_lookup_get_uobject.  This
directly prevents all of these commands from conflicting with an ongoing
disassociation.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/rdma_core.c