linux-stable/drivers/infiniband/sw
Bob Pearson bfdc0edd11 RDMA/rxe: Change mcg_lock to a _bh lock
rxe_mcast.c currently uses _irqsave spinlocks for rxe->mcg_lock while
rxe_recv.c uses _bh spinlocks for the same lock.

As there is no case where the mcg_lock can be taken from an IRQ, change
these all to bh locks so we don't have confusing mismatched lock types on
the same spinlock.

Fixes: 6090a0c4c7 ("RDMA/rxe: Cleanup rxe_mcast.c")
Link: https://lore.kernel.org/r/20220504202817.98247-1-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2022-05-04 21:29:25 -03:00
..
rdmavt IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition 2022-04-04 14:45:02 -03:00
rxe RDMA/rxe: Change mcg_lock to a _bh lock 2022-05-04 21:29:25 -03:00
siw RDMA/siw: Fix a condition race issue in MPA request processing 2022-05-04 20:59:54 -03:00
Makefile rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00