linux/drivers/infiniband/sw
Bob Pearson 87a21a850d RDMA/rxe: Fix access checks in rxe_check_bind_mw
[ Upstream commit 425e1c9018 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2023-07-19 16:35:59 +02:00
..
rdmavt v6.4 merge window RDMA pull request 2023-04-29 17:21:24 -07:00
rxe RDMA/rxe: Fix access checks in rxe_check_bind_mw 2023-07-19 16:35:59 +02:00
siw RDMA: Add ib_virt_dma_to_page() 2023-04-16 11:08:07 +03:00
Makefile rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00