Messages in this thread | | | Date | Fri, 28 Oct 2022 14:45:45 -0300 | From | Jason Gunthorpe <> | Subject | Re: [for-next PATCH v5 01/11] RDMA/rxe: make sure requested access is a subset of {mr,mw}->access |
| |
On Tue, Sep 27, 2022 at 01:53:27PM +0800, Li Zhijian wrote: > 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. > > Signed-off-by: Li Zhijian <lizhijian@fujitsu.com> > --- > drivers/infiniband/sw/rxe/rxe_mr.c | 2 +- > drivers/infiniband/sw/rxe/rxe_mw.c | 3 +-- > 2 files changed, 2 insertions(+), 3 deletions(-)
I'm going to apply this little bug fix to for-next
Thanks, Jason
| |