linux/drivers/infiniband
Maor Gottlieb ca37a664a8 IB/mlx4: Change vma from shared to private
Anonymous VMA (->vm_ops == NULL) cannot be shared, otherwise
it would lead to SIGBUS.

Remove the shared flags from the vma after we change it to be
anonymous.

This is easily reproduced by doing modprobe -r while running a
user-space application such as raw_ethernet_bw.

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: Change vma from shared to private 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