Commit a6f018e3 authored by Divy Le Ray's avatar Divy Le Ray Committed by David S. Miller

cxgb3: fix hot plug removal crash

queue restart tasklets need to be stopped after napi handlers are stopped
since the latter can restart them.  So stop them after stopping napi.
Signed-off-by: default avatarDivy Le Ray <divy@chelsio.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0eddba52
...@@ -1280,6 +1280,7 @@ static void cxgb_down(struct adapter *adapter) ...@@ -1280,6 +1280,7 @@ static void cxgb_down(struct adapter *adapter)
free_irq_resources(adapter); free_irq_resources(adapter);
quiesce_rx(adapter); quiesce_rx(adapter);
t3_sge_stop(adapter);
flush_workqueue(cxgb3_wq); /* wait for external IRQ handler */ flush_workqueue(cxgb3_wq); /* wait for external IRQ handler */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment