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.
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.
Ignore-Patch : http://marc.info/?l=linux-kernel&m=122895597922096&w=4 Patch : http://marc.info/?l=linux-kernel&m=122905927102071&w=4