From: "Michael Chan" <[EMAIL PROTECTED]> Date: Fri, 27 Jan 2006 09:32:09 -0800
> [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 <[EMAIL PROTECTED]> Applied, thanks Michael. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html