linux-stable/drivers/infiniband
Bob Pearson 17eabd6a04 RDMA/rxe: Fix double unlock in rxe_qp.c
A recent patch can cause a double spin_unlock_bh() in rxe_qp_to_attr() at
line 715 in rxe_qp.c. Move the 2nd unlock into the if statement.

Fixes: f605f26ea1 ("RDMA/rxe: Protect QP state with qp->state_lock")
Link: https://lore.kernel.org/r/20230515201056.1591140-1-rpearsonhpe@gmail.com
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/27773078-40ce-414f-8b97-781954da9f25@kili.mountain
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2023-05-16 16:52:45 -03:00
..
core v6.4 merge window RDMA pull request 2023-04-29 17:21:24 -07:00
hw RDMA/bnxt_re: Fix the page_size used during the MR creation 2023-05-12 18:30:30 -03:00
sw RDMA/rxe: Fix double unlock in rxe_qp.c 2023-05-16 16:52:45 -03:00
ulp v6.4 merge window RDMA pull request 2023-04-29 17:21:24 -07:00
Kconfig RDMA: Disable IB HW for UML 2022-12-04 15:22:03 +02:00
Makefile