diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2020-08-18 15:05:22 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-08-27 08:38:15 -0300 |
commit | 38e03d092699891c3237b5aee9e8029d4ede0956 (patch) | |
tree | 5e02d9e4fe7103b50cc68f3956ac45d208a8b7c4 /drivers/infiniband/core/uverbs_std_types_qp.c | |
parent | RDMA/ucma: Fix locking for ctx->events_reported (diff) | |
download | linux-dev-38e03d092699891c3237b5aee9e8029d4ede0956.tar.xz linux-dev-38e03d092699891c3237b5aee9e8029d4ede0956.zip |
RDMA/ucma: Add missing locking around rdma_leave_multicast()
All entry points to the rdma_cm from a ULP must be single threaded,
even this error unwinds. Add the missing locking.
Fixes: 7c11910783a1 ("RDMA/ucma: Put a lock around every call to the rdma_cm layer")
Link: https://lore.kernel.org/r/20200818120526.702120-11-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs_std_types_qp.c')
0 files changed, 0 insertions, 0 deletions