r8169: RTNL and flush_scheduled_work deadlock
authorFrancois Romieu <romieu@fr.zoreil.com>
Thu, 15 Feb 2007 22:37:21 +0000 (23:37 +0100)
committerJeff Garzik <jeff@garzik.org>
Tue, 20 Feb 2007 16:18:12 +0000 (11:18 -0500)
flush_scheduled_work() in net_device->close has a slight tendency
to deadlock with tasks on the workqueue that hold RTNL.

rtl8169_close/down simply need the recovery tasks to not meddle
with the hardware while the device is going down.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

No differences found