Home
last modified time | relevance | path

Searched hist:"875 ab4a8d9a7e559c4aaad28f5886d39923301b7" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/infiniband/sw/rxe/
H A Drxe_mw.cdiff 875ab4a8d9a7e559c4aaad28f5886d39923301b7 Tue Sep 27 07:53:27 CEST 2022 Li Zhijian <lizhijian@fujitsu.com> RDMA/rxe: Make sure requested access is a subset of {mr,mw}->access

We should reject the requests with access flags that is not registered by
MR/MW. For example, lookup_mr() should return NULL when requested access
is 0x03 and mr->access is 0x01.

Link: https://lore.kernel.org/r/20220927055337.22630-2-lizhijian@fujitsu.com
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
H A Drxe_mr.cdiff 875ab4a8d9a7e559c4aaad28f5886d39923301b7 Tue Sep 27 07:53:27 CEST 2022 Li Zhijian <lizhijian@fujitsu.com> RDMA/rxe: Make sure requested access is a subset of {mr,mw}->access

We should reject the requests with access flags that is not registered by
MR/MW. For example, lookup_mr() should return NULL when requested access
is 0x03 and mr->access is 0x01.

Link: https://lore.kernel.org/r/20220927055337.22630-2-lizhijian@fujitsu.com
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>