android_kernel_motorola_sm6225/drivers/net/ibm_newemac
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
..
core.c ibm_newemac: Fix possible lockup on close 2007-11-23 20:52:09 -05:00
core.h ibm_newemac: Fix possible lockup on close 2007-11-23 20:52:09 -05:00
debug.c Device tree aware EMAC driver 2007-10-10 16:51:52 -07:00
debug.h Device tree aware EMAC driver 2007-10-10 16:51:52 -07:00
emac.h Device tree aware EMAC driver 2007-10-10 16:51:52 -07:00
Kconfig Device tree aware EMAC driver 2007-10-10 16:51:52 -07:00
Makefile Device tree aware EMAC driver 2007-10-10 16:51:52 -07:00
mal.c fix EMAC driver for proper napi_synchronize API 2007-10-17 20:17:34 -04:00
mal.h Add dcr_host_t.base in dcr_read()/dcr_write() 2007-10-15 14:29:49 -04:00
phy.c Device tree aware EMAC driver 2007-10-10 16:51:52 -07:00
phy.h Device tree aware EMAC driver 2007-10-10 16:51:52 -07:00
rgmii.c ibm_newemac annotations (iomem, NULL noise) 2007-10-14 12:41:52 -07:00
rgmii.h Device tree aware EMAC driver 2007-10-10 16:51:52 -07:00
tah.c ibm_newemac annotations (iomem, NULL noise) 2007-10-14 12:41:52 -07:00
tah.h Device tree aware EMAC driver 2007-10-10 16:51:52 -07:00
zmii.c ibm_newemac annotations (iomem, NULL noise) 2007-10-14 12:41:52 -07:00
zmii.h Device tree aware EMAC driver 2007-10-10 16:51:52 -07:00