]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx4: Fix potential deadlock when sending mad to wire
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Thu, 30 Jul 2015 14:34:21 +0000 (17:34 +0300)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:12:22 +0000 (18:12 -0400)
commitfabd10b97cb8d2661874f2a09445c9d483c00e1d
tree0f357378a3cbba9520e3c9177e586384f0f37d5b
parent29e012b97e082134cd467cef625ac00574c9f2a4
IB/mlx4: Fix potential deadlock when sending mad to wire

send_mad_to_wire takes the same spinlock that is taken in
the interrupt context.  Therefore, it needs irqsave/restore.

Fixes: 200aa9fdcf4d ('IB/mlx4: Add multicast group (MCG) paravirtualization for SR-IOV')
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/mcg.c