diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-11-20 14:50:46 +1100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-11-23 20:52:09 -0500 |
commit | 61dbcecef568450de954115180881bf2f68511bc (patch) | |
tree | 5cd9d0bff1ab065764230f870a1a48bbdb22142d /include/asm-h8300/pgalloc.h | |
parent | 2ffbb8377c7a0713baf6644e285adc27a5654582 (diff) |
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>
Diffstat (limited to 'include/asm-h8300/pgalloc.h')
0 files changed, 0 insertions, 0 deletions