From: Benjamin Herrenschmidt Date: Tue, 20 Nov 2007 03:50:46 +0000 (+1100) Subject: ibm_newemac: Fix possible lockup on close X-Git-Tag: v2.6.24-rc4~9^2~41 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61dbcecef568450de954115180881bf2f68511bc;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed