From: Jon Mason Date: Fri, 10 Dec 2010 14:03:00 +0000 (+0000) Subject: vxge: hotplug stall X-Git-Tag: v2.6.38-rc1~476^2~245 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c1638871671721e8f3693a0dfbb0e2e05b08742;p=pandora-kernel.git vxge: hotplug stall When hot-unplugging a vxge adapter while running, the driver's remove routine prints warning and then stalls the calling thread. This is due to vxge_remove calling vxge_device_unregister to unregister the netdev before calling flush_scheduled_work clear any pending work. Swapping the order of these two functions resolves the issue. Signed-off-by: Jon Mason Signed-off-by: Ram Vepa Signed-off-by: David S. Miller --- Reading git-diff-tree failed