From: Divy Le Ray Date: Wed, 3 Mar 2010 09:49:47 +0000 (+0000) Subject: cxgb3: fix hot plug removal crash X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a6f018e324ba91d0464cca6895447c2b89e6d578;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c index 6fd968abb073..cecdec1551db 100644 --- a/drivers/net/cxgb3/cxgb3_main.c +++ b/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 */ }