OSDN Git Service

RDMA/mlx4: Don't crash machine if zap_vma_ptes() fails
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 29 May 2018 12:14:06 +0000 (15:14 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 1 Jun 2018 15:16:58 +0000 (11:16 -0400)
commit7fc8ff267d8a94964626b847a0440b6feef9dd68
tree7ae69340fa99d6403b1f071efeccca6883046a7b
parent2cb4079188a1421520372f5e57ddaceab39435aa
RDMA/mlx4: Don't crash machine if zap_vma_ptes() fails

The failure reported by zap_vma_ptes() means that wrong VMA pages
were supplied, however it is impossible for this type of address.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/main.c