On Tue, 2013-01-22 at 17:43 +0100, Takashi Iwai wrote:
> [NOTE: the regression below is found only in 3.2-3.4 stable trees, so
>        there is no upstream commit corresponding to this patch]
> 
> The recent fix for the race at disconnection of usb-audio devices
> (upstream commit 978520b7) triggers Oops when a device is unplugged
> while playing on 3.2 and 3.4 kernels.  The culprit is that the
> shutdown flag check was wrongly added around the urb deactivation code
> snippet.  The urb deactivation code has to be performed even after the
> device disconnected.  Otherwise it remains undead and pokes the wild
> access in the end.
> 
> The regression fix is simply reverting the shutdown flag check in that
> code.
> 
> Reported-and-tested-by: Chris J Arges <[email protected]>
> Cc: <[email protected]> [v3.2..v3.4]
> Signed-off-by: Takashi Iwai <[email protected]>
> ---
> 
> Looking at linux-stable git tree, 3.2.y and 3.4.y are affected at
> least.  Ben, Greg, please apply this.
[...]

Queued up for 3.2, thanks.

Ben.

-- 
Ben Hutchings
Everything should be made as simple as possible, but not simpler.
                                                           - Albert Einstein

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to