linux/drivers/infiniband/sw
Bob Pearson 1afca9e0fe 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:21:28 +02:00
..
rdmavt RDMA/rdmavt: Delete unnecessary NULL check 2023-05-11 23:03:32 +09:00
rxe RDMA/rxe: Fix access checks in rxe_check_bind_mw 2023-07-19 16:21:28 +02:00
siw RDMA/siw: Remove namespace check from siw_netdev_event() 2023-05-11 23:03:33 +09:00
Makefile rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00