diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2020-11-30 09:58:36 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-12-07 14:06:23 -0400 |
commit | adac4cb3c1ff5c47c9f47be5d017a0e054176e3c (patch) | |
tree | 45cefe975243d418e52288bd3604a120d6c48e05 /drivers/infiniband/hw/mlx4/mr.c | |
parent | b9653b31d7767b7dccc8b24b660301be90449036 (diff) |
RDMA/uverbs: Check ODP in ib_check_mr_access() as well
No reason only one caller checks this. This properly blocks ODP
from the rereg flow if the device does not support ODP.
Link: https://lore.kernel.org/r/20201130075839.278575-3-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mr.c')
0 files changed, 0 insertions, 0 deletions