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:
Divy Le Ray 2010-03-03 09:49:47 +00:00 коммит произвёл David S. Miller
Родитель 0eddba525c
Коммит a6f018e324
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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 */
}