diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2017-05-21 19:08:09 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-06-01 17:20:13 -0400 |
commit | 79bb5b7ee1776a244484a1be6671d89fbd7c0c9f (patch) | |
tree | 3671e82e4056918be2e57a1ec1df88d3607d35c4 /include | |
parent | 53376fedb9da54c0d3b0bd3a6edcbeb681692909 (diff) | |
download | linux-79bb5b7ee1776a244484a1be6671d89fbd7c0c9f.tar.gz linux-79bb5b7ee1776a244484a1be6671d89fbd7c0c9f.tar.bz2 linux-79bb5b7ee1776a244484a1be6671d89fbd7c0c9f.zip |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions