diff options
author | Moni Shoua | 2019-03-19 11:24:36 +0200 |
---|---|---|
committer | Jason Gunthorpe | 2019-03-27 15:27:11 -0300 |
commit | 1abe186ed8a6593069bc122da55fc684383fdc1c (patch) | |
tree | e72d2040a57a70dcb5285b5395b549047599f268 /drivers/infiniband/hw/hfi1/rc.c | |
parent | d0294344470e6b52d097aa7369173f32d11f2f52 (diff) |
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/hfi1/rc.c')
0 files changed, 0 insertions, 0 deletions