linux-stable/drivers/infiniband
Bob Pearson 425e1c9018 RDMA/rxe: Fix access checks in rxe_check_bind_mw
The subroutine rxe_check_bind_mw() in rxe_mw.c performs checks on the mw
access flags before they are set so they always succeed.  This patch
instead checks the access flags passed in the send wqe.

Fixes: 32a577b4c3 ("RDMA/rxe: Add support for bind MW work requests")
Link: https://lore.kernel.org/r/20230530221334.89432-4-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2023-06-09 13:18:52 -03:00
..
core v6.4 merge window RDMA pull request 2023-04-29 17:21:24 -07:00
hw RDMA/hns: Add clear_hem return value to log 2023-06-01 19:58:47 -03:00
sw RDMA/rxe: Fix access checks in rxe_check_bind_mw 2023-06-09 13:18:52 -03:00
ulp RDMA/rtrs: Remove duplicate cq_num assignment 2023-06-01 13:11:41 -03:00
Kconfig RDMA: Disable IB HW for UML 2022-12-04 15:22:03 +02:00
Makefile