summaryrefslogtreecommitdiffstats
path: root/drivers/net/tlan.h
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2009-04-17 12:21:17 +0000
committerDavid S. Miller <davem@davemloft.net>2009-04-20 02:07:24 -0700
commitc80b0c28caed5cd9165caab6295ed86b4e9fc327 (patch)
treeb0c9980129bc5464461a1f1d0c1332d51d1050a3 /drivers/net/tlan.h
parent3851c66cf0d130ae49f99fe1dea42950d9835037 (diff)
downloadblackbird-op-linux-c80b0c28caed5cd9165caab6295ed86b4e9fc327.tar.gz
blackbird-op-linux-c80b0c28caed5cd9165caab6295ed86b4e9fc327.zip
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>
Diffstat (limited to 'drivers/net/tlan.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud