1
0
Fork 0
alistair23-linux/drivers/net/ethernet/intel
Akeem G. Abodunrin 6c1d8b96d0 e1000e: Release mutex lock only if it has been initially acquired
This patch fixes the issue of unlocking swflag_mutex for 82574 and 82583
devices regardless of if the hw semaphore has been successfully acquired via
e1000_get_hw_semaphore_82574(). With this patch, unlocking mutex now depends
on if the hw semaphore was successfully acquired before. And 82574/82583
devices are reset regardless of whether e1000_get_hw_semaphore_82574()
returns success or failure.

Reported-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2013-05-21 02:19:03 -07:00
..
e1000 net: vlan: add protocol argument to packet tagging functions 2013-04-19 14:46:06 -04:00
e1000e e1000e: Release mutex lock only if it has been initially acquired 2013-05-21 02:19:03 -07:00
igb igb: limit udelay for phy changes to 10000us 2013-04-25 18:49:18 -07:00
igbvf net: vlan: add protocol argument to packet tagging functions 2013-04-19 14:46:06 -04:00
ixgb net: vlan: add protocol argument to packet tagging functions 2013-04-19 14:46:06 -04:00
ixgbe ixgbe: add mac type to the version in ethtool_regs 2013-04-25 20:38:28 -07:00
ixgbevf net: vlan: add protocol argument to packet tagging functions 2013-04-19 14:46:06 -04:00
Kconfig Driver core patches for 3.9-rc1 2013-02-21 12:05:51 -08:00
Makefile intel: Move the Intel wired LAN drivers 2011-08-10 20:03:27 -07:00
e100.c e100: Add dma mapping error check 2013-04-10 15:25:15 -04:00