Re: [PATCH] e1000e: fix double release of mutex

From: David Miller
Date: Fri Dec 12 2008 - 00:28:40 EST


From: Jeff Kirsher <jeffrey.t.kirsher@xxxxxxxxx>
Date: Thu, 11 Dec 2008 21:20:26 -0800

> 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@xxxxxxxxx>

Applied, thanks for respinning this.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/