[E1000]: Fix schedule while atomic when called from mii-tool.
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Wed, 14 Nov 2007 05:00:09 +0000 (21:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Nov 2007 05:00:09 +0000 (21:00 -0800)
mii-tool can cause the driver to call msleep during nway reset,
bugzilla.kernel.org bug 8430.  Fix by simply calling reinit_locked
outside of the spinlock, which is safe from ethtool, so it should be
safe from here.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found