cxgb3: Avoid flush_workqueue() deadlock.
authorCasey Leedom <leedom@chelsio.com>
Thu, 2 Sep 2010 13:07:32 +0000 (13:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Sep 2010 17:03:51 +0000 (10:03 -0700)
commit55bc3228ccef255041d697fe55dcc7fe4b37feb6
tree0a0e969d3617b63d5c924d0c1ba885488e7e6844
parentaa476321022ac6c3cb8ebfd1736555ccf61da276
cxgb3: Avoid flush_workqueue() deadlock.

Don't call flush_workqueue() on the cxgb3 Work Queue in cxgb_down() when
we're being called from the fatal error task ... which is executing on the
cxgb3 Work Queue.

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb3/cxgb3_main.c