diff options
author | Divy Le Ray <divy@chelsio.com> | 2010-03-03 04:49:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-04 03:53:54 -0500 |
commit | a6f018e324ba91d0464cca6895447c2b89e6d578 (patch) | |
tree | 07adb5144ed1c192d5631de795ae8948fe2d2835 /drivers/net/cxgb3 | |
parent | 0eddba525cf4c3a4aab9feaf36b12b465290d4a7 (diff) |
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>
Diffstat (limited to 'drivers/net/cxgb3')
-rw-r--r-- | drivers/net/cxgb3/cxgb3_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
1280 | 1280 | ||
1281 | free_irq_resources(adapter); | 1281 | free_irq_resources(adapter); |
1282 | quiesce_rx(adapter); | 1282 | quiesce_rx(adapter); |
1283 | t3_sge_stop(adapter); | ||
1283 | flush_workqueue(cxgb3_wq); /* wait for external IRQ handler */ | 1284 | flush_workqueue(cxgb3_wq); /* wait for external IRQ handler */ |
1284 | } | 1285 | } |
1285 | 1286 | ||