linux_dsm_epyc7002/drivers/net/e1000e
Jeff Kirsher 30bb0e0dce e1000e: fix double release of mutex
During a reset, releasing the swflag after it failed to be acquired would
cause a double unlock of the mutex.  Instead, test whether acquisition of
the swflag was successful and if not, do not release the swflag.  The reset
must still be done to bring the device to a quiescent state.

This resolves [BUG 12200] BUG: bad unlock balance detected! e1000e
http://bugzilla.kernel.org/show_bug.cgi?id=12200

Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-11 21:28:11 -08:00
..
82571.c e1000e: add support for new 82574L part 2008-09-03 10:08:13 -04:00
defines.h e1000e: add support for new 82574L part 2008-09-03 10:08:13 -04:00
e1000.h e1000e: fix IPMI traffic 2008-11-16 19:05:16 -08:00
es2lan.c e1000e: add support for new 82574L part 2008-09-03 10:08:13 -04:00
ethtool.c e1000e: Use device_set_wakeup_enable 2008-11-16 01:35:45 -08:00
hw.h e1000e: add support for new 82574L part 2008-09-03 10:08:13 -04:00
ich8lan.c e1000e: fix double release of mutex 2008-12-11 21:28:11 -08:00
lib.c e1000e: release hw semaphore after successfully writing EEPROM 2008-10-08 16:47:58 -07:00
Makefile e1000e: reformat comment blocks, cosmetic changes only 2008-03-28 22:14:56 -04:00
netdev.c driver/net/*: remove redundant argument comments 2008-11-23 15:46:55 -08:00
param.c e1000e: fix IPMI traffic 2008-11-16 19:05:16 -08:00
phy.c e1000e: add support for new 82574L part 2008-09-03 10:08:13 -04:00