commit | 79bb5b7ee1776a244484a1be6671d89fbd7c0c9f | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leonro@mellanox.com> | Sun May 21 19:08:09 2017 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Thu Jun 01 17:20:13 2017 -0400 |
tree | 3671e82e4056918be2e57a1ec1df88d3607d35c4 | |
parent | 53376fedb9da54c0d3b0bd3a6edcbeb681692909 [diff] |
RDMA/umem: Fix missing mmap_sem in get umem ODP call Add mmap_sem lock around VMA inspection in ib_umem_odp_get(). Fixes: 0008b84ea9af ('IB/umem: Add support to huge ODP') Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com> Reviewed-by: Eli Cohen <eli@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>