Benjamin Herrenschmidt 61dbcecef5 ibm_newemac: Fix possible lockup on close
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@kernel.crashing.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-11-23 20:52:09 -05:00
..
2007-10-10 16:51:52 -07:00
2007-10-10 16:51:52 -07:00
2007-10-10 16:51:52 -07:00
2007-10-10 16:51:52 -07:00
2007-10-10 16:51:52 -07:00
2007-10-10 16:51:52 -07:00
2007-10-10 16:51:52 -07:00
2007-10-10 16:51:52 -07:00
2007-10-10 16:51:52 -07:00
2007-10-10 16:51:52 -07:00