commit | f0163ac45b40bd032b877c747796146d52d4e800 | [log] [tgz] |
---|---|---|
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | Tue Nov 13 21:00:09 2007 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 13 21:00:09 2007 -0800 |
tree | 8fe8cb9be1632f5685cf40b838ca826d0425d8ea | |
parent | e2ac455a18806b31c2d0da0a51d8740af5010b7a [diff] |
[E1000]: Fix schedule while atomic when called from mii-tool. 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>