diff options
author | Chris Mason <clm@fb.com> | 2014-04-15 18:09:24 -0400 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-05-29 11:38:24 +0200 |
commit | 0610ae43cefde18c9270e7c791faa629382200f1 (patch) | |
tree | 405fae3051b3b923ecee0e20b32a8087a6b27730 /samples | |
parent | 5ba3b1ee9254602486b6a62780d775461a490d4d (diff) |
mlx4_en: don't use napi_synchronize inside mlx4_en_netpoll
commit c98235cb8584a72e95786e17d695a8e5fafcd766 upstream.
The mlx4 driver is triggering schedules while atomic inside
mlx4_en_netpoll:
spin_lock_irqsave(&cq->lock, flags);
napi_synchronize(&cq->napi);
^^^^^ msleep here
mlx4_en_process_rx_cq(dev, cq, 0);
spin_unlock_irqrestore(&cq->lock, flags);
This was part of a patch by Alexander Guller from Mellanox in 2011,
but it still isn't upstream.
Signed-off-by: Chris Mason <clm@fb.com>
Acked-By: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions