linux/drivers/infiniband/sw/rxe
Bob Pearson 8a48ac7f6c RDMA/rxe: Fix race in rxe_mcast.c
Fix a race in rxe_mcast.c that occurs when two QPs try at the same time to
attach a multicast address. Both QPs lookup the mgid address in a pool of
multicast groups and if they do not find it create a new group elem.

Fix this by locking the lookup/alloc/add key sequence and using the
unlocked APIs added in this patch set.

Link: https://lore.kernel.org/r/20201216231550.27224-8-rpearson@hpe.com
Signed-off-by: Bob Pearson <rpearson@hpe.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-01-12 16:35:39 -04:00
..
Kconfig RDMA/core: remove use of dma_virt_ops 2020-11-17 15:22:07 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rxe_av.c RDMA/rxe: Fix small problem in network_type patch 2020-10-26 19:12:17 -03:00
rxe_comp.c Linux 5.9-rc3 2020-08-31 12:28:12 -03:00
rxe_cq.c RDMA/rxe: Use acquire/release for memory ordering 2020-12-11 19:57:48 -04:00
rxe_hdr.h RDMA/rxe: Add SPDX hdrs to rxe source files 2020-08-31 12:20:02 -03:00
rxe_hw_counters.c RDMA/rxe: Add SPDX hdrs to rxe source files 2020-08-31 12:20:02 -03:00
rxe_hw_counters.h RDMA/rxe: Add SPDX hdrs to rxe source files 2020-08-31 12:20:02 -03:00
rxe_icrc.c RDMA/rxe: Add SPDX hdrs to rxe source files 2020-08-31 12:20:02 -03:00
rxe_loc.h RDMA/rxe: Add SPDX hdrs to rxe source files 2020-08-31 12:20:02 -03:00
rxe_mcast.c RDMA/rxe: Fix race in rxe_mcast.c 2021-01-12 16:35:39 -04:00
rxe_mmap.c RDMA/rxe: Add SPDX hdrs to rxe source files 2020-08-31 12:20:02 -03:00
rxe_mr.c RDMA/rxe: Remove unused RXE_MR_TYPE_FMR 2020-10-26 20:00:27 -03:00
rxe_net.c RDMA/siw,rxe: Make emulated devices virtual in the device tree 2020-11-23 16:14:31 -04:00
rxe_net.h RDMA/rxe: Add SPDX hdrs to rxe source files 2020-08-31 12:20:02 -03:00
rxe_opcode.c RDMA/rxe: Add SPDX hdrs to rxe source files 2020-08-31 12:20:02 -03:00
rxe_opcode.h RDMA/rxe: Add SPDX hdrs to rxe source files 2020-08-31 12:20:02 -03:00
rxe_param.h RDMA/rxe: Add SPDX hdrs to rxe source files 2020-08-31 12:20:02 -03:00
rxe_pool.c RDMA/rxe: Add unlocked versions of pool APIs 2021-01-12 16:35:39 -04:00
rxe_pool.h RDMA/rxe: Add unlocked versions of pool APIs 2021-01-12 16:35:39 -04:00
rxe_qp.c RDMA/rxe: Add check for supported QP types 2021-01-12 16:11:35 -04:00
rxe_queue.c RDMA/rxe: Add SPDX hdrs to rxe source files 2020-08-31 12:20:02 -03:00
rxe_queue.h RDMA/rxe: Use acquire/release for memory ordering 2020-12-11 19:57:48 -04:00
rxe_recv.c RDMA/rxe: Handle skb_clone() failure in rxe_recv.c 2020-10-16 13:57:55 -03:00
rxe_req.c RDMA/rxe: Compute PSN windows correctly 2020-10-28 10:34:20 -03:00
rxe_resp.c RDMA/rxe: Remove VLAN code leftovers from RXE 2020-11-12 11:38:27 -04:00
rxe_srq.c RDMA/rxe: Add SPDX hdrs to rxe source files 2020-08-31 12:20:02 -03:00
rxe_sysfs.c Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00
rxe_task.c RDMA/rxe: Convert tasklets to use new tasklet_setup() API 2020-09-03 12:01:53 -03:00
rxe_task.h RDMA/rxe: Convert tasklets to use new tasklet_setup() API 2020-09-03 12:01:53 -03:00
rxe_verbs.c RDMA/rxe: Make add/drop key/index APIs type safe 2021-01-12 16:35:38 -04:00
rxe_verbs.h RDMA/core: remove use of dma_virt_ops 2020-11-17 15:22:07 -04:00
rxe.c Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00
rxe.h Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00