diff options
author | Divy Le Ray <divy@chelsio.com> | 2009-04-17 12:21:17 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-20 02:07:24 -0700 |
commit | c80b0c28caed5cd9165caab6295ed86b4e9fc327 (patch) | |
tree | b0c9980129bc5464461a1f1d0c1332d51d1050a3 /lib/zlib_inflate | |
parent | 3851c66cf0d130ae49f99fe1dea42950d9835037 (diff) |
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 'lib/zlib_inflate')
0 files changed, 0 insertions, 0 deletions