Bug 12200

Summary: BUG: bad unlock balance detected! e1000e
Product: Drivers Reporter: Rafael J. Wysocki (rjw)
Component: NetworkAssignee: Jeff Kirsher (jeffrey.t.kirsher)
Status: RESOLVED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: jeffrey.t.kirsher, zdenek.kabelac
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: commit 717d438d1fde94decef874b9808379d1f4523453 Tree: Mainline
Regression: Yes
Bug Depends on:    
Bug Blocks: 11167    

Description Rafael J. Wysocki 2008-12-11 12:34:40 UTC
Subject    : BUG: bad unlock balance detected! e1000e
Submitter  : "Zdenek Kabelac" <zdenek.kabelac@gmail.com>
Date       : 2008-12-08 11:24
References : http://marc.info/?l=linux-kernel&m=122873549700644&w=4
Handled-By : "Jeff Kirsher" <jeffrey.t.kirsher@intel.com>
Patch      : http://marc.info/?l=linux-kernel&m=122895597922096&w=4

This entry is being used for tracking a regression from 2.6.26.  Please don't
close it until the problem is fixed in the mainline.
Comment 1 Jeff Kirsher 2008-12-11 14:01:16 UTC
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.