diff options
author | Vladimir Sokolovsky | 2011-01-11 02:42:06 +0100 |
---|---|---|
committer | Roland Dreier | 2011-01-11 02:42:06 +0100 |
commit | 3afa9f19e5bd16abed998b7bf1b178206403286f (patch) | |
tree | 2bd80f9204eaa867bbd7d4aee3ca51c11f3c5f75 /drivers/net/mlx4 | |
parent | mlx4_core: Remove warning message about firmware bug (diff) | |
download | kernel-qcow2-linux-3afa9f19e5bd16abed998b7bf1b178206403286f.tar.gz kernel-qcow2-linux-3afa9f19e5bd16abed998b7bf1b178206403286f.tar.xz kernel-qcow2-linux-3afa9f19e5bd16abed998b7bf1b178206403286f.zip |
IB/mlx4: Don't call dma_free_coherent() with irqs disabled
mlx4_ib_free_cq_buf() should not be called under spin_lock_irq() since
it calls dma_free_coherent(), which needs irqs enabled. Fix this by
deferring the free to outside the locked region.
This was found due to the
WARN_ON(irqs_disabled());
in swiotlb_free_coherent().
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/net/mlx4')
0 files changed, 0 insertions, 0 deletions