]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commiteb2a021c4710b98081daa797d5a729ac23c240cd
tree93f0d67ed4fef48fa324f33890bec242e35fbfe0
parent1ca949299260aa49eeba34ff912e2321c8b1f647
r8169: RTNL and flush_scheduled_work deadlock

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>
drivers/net/r8169.c