[PATCH] ibm_newemac: Fix possible lockup on close

Jeff Garzik jgarzik at pobox.com
Sat Nov 24 12:52:25 EST 2007


Benjamin Herrenschmidt wrote:
> It's a bad idea to call flush_scheduled_work from within a
> netdev->stop because the linkwatch will occasionally take the
> rtnl lock from a workqueue context, and thus that can deadlock.
> 
> This reworks things a bit in that area to avoid the problem.
> 
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---
> 

applied #upstream-fixes (2.6.24-rc)




More information about the Linuxppc-dev mailing list