ソースを参照

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>
Divy Le Ray 15 年 前
コミット
a6f018e324
1 ファイル変更1 行追加0 行削除
  1. 1 0
      drivers/net/cxgb3/cxgb3_main.c

+ 1 - 0
drivers/net/cxgb3/cxgb3_main.c

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