linux/drivers/infiniband
Maor Gottlieb 22c3653d04 IB/mlx4: Take write semaphore when changing the vma struct
When the driver disassociate user context, it changes the vma to
anonymous by setting the vm_ops to null and zap the vma ptes.

In order to avoid race in the kernel, we need to take write lock
before we change the vma entries.

Fixes: ae184ddeca ('IB/mlx4_ib: Disassociate support')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-04-21 12:26:05 -04:00
..
core IB/core: Fix sysfs registration error flow 2017-04-21 12:26:05 -04:00
hw IB/mlx4: Take write semaphore when changing the vma struct 2017-04-21 12:26:05 -04:00
sw IB/rxe: Cache dst in QP instead of getting it for each send 2017-04-21 10:45:02 -04:00
ulp IB/ipoib: Fix deadlock between ipoib_stop and mcast join flow 2017-04-21 11:45:55 -04:00
Kconfig IB/opa-vnic: Virtual Network Interface Controller (VNIC) netdev 2017-04-20 12:01:38 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00