Michael Chan
7faa006f94
[TG3]: Flush tg3_reset_task()
...
Make sure tg3_reset_task() is flushed in the close and suspend paths
as noted by Jeff Garzik.
In the close path, calling flush_scheduled_work() may cause deadlock
if linkwatch_event() is on the workqueue. linkwatch_event() will try
to get the rtnl_lock() which is already held by tg3_close(). So
instead, we set a flag in tg3_reset_task() and tg3_close() polls
the flag until it is cleared.
Signed-off-by: Michael Chan <mchan@broadcom.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-02-02 17:29:28 -08:00
..
2006-01-11 18:42:13 -08:00
2006-01-31 03:25:09 -05:00
2006-01-09 13:56:42 +00:00
2006-01-10 13:09:01 -08:00
2006-01-14 18:27:06 -08:00
2006-01-31 17:23:36 -08:00
2006-01-14 18:27:06 -08:00
2006-01-12 20:09:29 +11:00
2006-02-02 07:49:43 -08:00
2006-01-10 08:01:39 -08:00
2006-01-27 10:36:49 -08:00
2006-01-09 14:15:39 -08:00
2006-01-13 11:26:07 -08:00
2006-01-18 19:20:31 -08:00
2005-12-22 23:09:54 -08:00
2006-01-14 18:27:13 -08:00
2006-01-09 12:13:23 -08:00
2006-01-13 11:26:07 -08:00
2006-02-02 01:14:46 -08:00
2006-01-16 19:21:57 -05:00
2006-01-30 16:45:11 -08:00
2006-01-31 21:18:17 -08:00
2006-01-14 18:27:06 -08:00
2006-02-01 08:53:19 -08:00
2006-02-02 15:07:13 -08:00
2006-02-01 08:53:14 -08:00
2006-01-31 14:40:05 -06:00
2006-01-13 11:26:08 -08:00
2006-01-21 20:06:14 +00:00
2006-01-14 19:44:01 -08:00
2006-02-01 08:53:10 -08:00
2006-02-02 17:29:28 -08:00
2006-01-11 18:42:13 -08:00
2006-01-11 18:42:13 -08:00
2006-01-10 21:52:25 -05:00
2006-02-01 16:35:29 -08:00
2006-01-13 11:26:08 -08:00
2006-02-01 22:08:23 -08:00
2006-01-13 11:26:10 -08:00
2006-02-01 08:53:25 -08:00
2006-01-14 10:41:42 -08:00
2006-02-01 08:53:09 -08:00
2006-02-01 22:06:15 -08:00
2006-01-13 11:26:09 -08:00
2006-02-01 08:53:25 -08:00
2006-01-13 16:29:56 -08:00
2006-01-06 00:03:24 +01:00
2006-01-31 21:18:17 -08:00
2006-02-01 08:53:27 -08:00
2006-01-10 00:08:17 +01:00
2006-01-13 11:26:10 -08:00
2006-01-18 19:20:31 -08:00
2006-01-18 19:20:31 -08:00