diff options
author | Moni Shoua <monis@mellanox.com> | 2019-03-19 12:24:36 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-03-27 21:27:11 +0300 |
commit | 1abe186ed8a6593069bc122da55fc684383fdc1c (patch) | |
tree | e72d2040a57a70dcb5285b5395b549047599f268 /drivers/infiniband/hw/vmw_pvrdma | |
parent | d0294344470e6b52d097aa7369173f32d11f2f52 (diff) | |
download | linux-1abe186ed8a6593069bc122da55fc684383fdc1c.tar.xz |
IB/mlx5: Reset access mask when looping inside page fault handler
If page-fault handler spans multiple MRs then the access mask needs to
be reset before each MR handling or otherwise write access will be
granted to mapped pages instead of read-only.
Cc: <stable@vger.kernel.org> # 3.19
Fixes: 7bdf65d411c1 ("IB/mlx5: Handle page faults")
Reported-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/vmw_pvrdma')
0 files changed, 0 insertions, 0 deletions