]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/uverbs: Fix create WQ to use the given user handle
authorYishai Hadas <yishaih@mellanox.com>
Wed, 6 May 2020 08:24:42 +0000 (11:24 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Sun, 17 May 2020 23:29:32 +0000 (20:29 -0300)
commit50de03ce7edb515068e9deff643f3a90bd1c023c
tree20caac0f54085c10814b8570386a83f648aa58eb
parentf3c89f0525e8d148a32bea105057f11c497b0937
RDMA/uverbs: Fix create WQ to use the given user handle

Fix create WQ to use the given user handle, in addition dropped some
duplicated code from this flow.

Fixes: f37dd5727e0c ("IB/core: Change idr objects to use the new schema")
Fixes: 524f8dbda042 ("IB/uverbs: Add WQ support")
Link: https://lore.kernel.org/r/20200506082444.14502-9-leon@kernel.org
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/uverbs_cmd.c