linux/drivers/net/cxgb3
Divy Le Ray c80b0c28ca cxgb3: fix workqueue flush issues
The fatal error task can be scheduled while processing an offload packet
in NAPI context when the connection handle is bogus. this can race
with the ports being brought down and the cxgb3 workqueue being flushed.
Stop napi processing before flushing the work queue.

The ULP drivers (iSCSI, iWARP) might also schedule a task on keventd_wk
while releasing a connection handle (cxgb3_offload.c::cxgb3_queue_tid_release()).
The driver however does not flush any work on keventd_wq while being unloaded.
This patch also fixes this.

Also call cancel_delayed_work_sync in place of the the deprecated
cancel_rearming_delayed_workqueue.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-20 02:07:24 -07:00
..
adapter.h cxgb3: map entire Rx page, feed map+offset to Rx ring. 2009-03-27 00:46:59 -07:00
ael1002.c drivers/net/cxgb3: fix sparse warnings: fix signedness 2009-02-17 17:26:10 -08:00
common.h cxgb3: differentiate portx and Tx channels 2009-03-27 00:46:58 -07:00
cxgb3_ctl_defs.h cxgb3: add control to access embedded images 2008-12-26 01:16:39 -08:00
cxgb3_defs.h
cxgb3_ioctl.h
cxgb3_main.c cxgb3: fix workqueue flush issues 2009-04-20 02:07:24 -07:00
cxgb3_offload.c cxgb3: Notify fatal errors 2009-01-26 22:21:59 -08:00
cxgb3_offload.h cxgb3: Notify fatal errors 2009-01-26 22:21:59 -08:00
firmware_exports.h
l2t.c
l2t.h
Makefile
mc5.c
regs.h cxgb3: detect mac link faults. 2009-03-13 11:30:47 -07:00
sge_defs.h
sge.c cxgb3: map entire Rx page, feed map+offset to Rx ring. 2009-03-27 00:46:59 -07:00
t3_cpl.h
t3_hw.c cxgb3: fix link fault handling 2009-04-20 02:07:23 -07:00
t3cdev.h
version.h cxgb3: update driver version 2009-03-13 11:30:49 -07:00
vsc8211.c drivers/net/cxgb3: comment out dead code 2008-12-25 23:59:28 -08:00
xgmac.c cxgb3: detect mac link faults. 2009-03-13 11:30:47 -07:00