mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 14:02:10 +00:00
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: Divy Le Ray <divy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0eddba525c
commit
a6f018e324
@ -1280,6 +1280,7 @@ static void cxgb_down(struct adapter *adapter)
|
||||
|
||||
free_irq_resources(adapter);
|
||||
quiesce_rx(adapter);
|
||||
t3_sge_stop(adapter);
|
||||
flush_workqueue(cxgb3_wq); /* wait for external IRQ handler */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user