diff options
| author | Ivan Khoronzhuk <[email protected]> | 2016-08-22 21:18:25 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-08-23 00:13:10 -0700 |
| commit | 080d5c5ac8e4cfab4f3b1239667cf422925efcc3 (patch) | |
| tree | 373869a7aad67b1c177d008fecb123bc5bc6b941 /tools/perf/scripts/python/sched-migration.py | |
| parent | 3802dce178d244c02c6b11fdcbbd202ceac37f0a (diff) | |
net: ethernet: ti: davinci_cpdma: fix locking while ctrl_stop
The interrupts shouldn't be disabled while receiving skb, but while
ctrl_stop, the channels are stopped and all remaining packets are
handled with netif_receive_skb(), it can cause WARN_ONCE when ctrl
is stopping while not all packets were handled with NAPIs:
lock_irq_save
cpdma_ctlr_stop
cpdma_chan_top
__cpdma_chan_free
cpsw_rx_handler
netif_receive_skb
So, split locking while ctrl stop thus interrupts are still
enabled while skbs handling. It can cause WARN_ONCE in rare
cases when ctrl is stopping while not all packets were handled
with NAPIs.
Reviewed-by: Mugunthan V N <[email protected]>
Signed-off-by: Ivan Khoronzhuk <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions