From: Steve Glendinning Date: Fri, 26 Dec 2008 00:40:19 +0000 (-0800) Subject: smsc911x: fix BUG if module is removed while interface is up X-Git-Tag: v2.6.29-rc1~581^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd0451938815d8b901488b1058f52023892c6cde;p=pandora-kernel.git smsc911x: fix BUG if module is removed while interface is up If the module is removed while its interface is up, smsc911x_stop is not called until after smsc911x_drv_remove has disposed of phy_dev. This patch changes the stop method to handle this situation. This is a different problem to the one reported by dfoley@telus.net. Signed-off-by: Steve Glendinning Signed-off-by: David S. Miller --- Reading git-diff-tree failed