summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2008-12-11 21:28:11 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-11 21:28:11 -0800
commit30bb0e0dce78427f3e5cb728d6b5ea73acbefffa (patch)
tree97601869ade938f50e11de20cb06cca72b27cb34 /net
parentbb49eed4221092fde4e2337534ae51d8f28a2fbe (diff)
downloadop-kernel-dev-30bb0e0dce78427f3e5cb728d6b5ea73acbefffa.zip
op-kernel-dev-30bb0e0dce78427f3e5cb728d6b5ea73acbefffa.tar.gz
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud