Re: [PATCH v4.4.x] ALSA: seq: Fix regression by incorrect ioctl_mutex usages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2018-02-19 at 17:16 +0100, Takashi Iwai wrote:
> This is the revised backport of the upstream commit
> b3defb791b26ea0683a93a4f49c77ec45ec96f10
> 
> We had another backport (e.g. 623e5c8ae32b in 4.4.115), but it applies
> the new mutex also to the code paths that are invoked via faked
> kernel-to-kernel ioctls.  As reported recently, this leads to a
> deadlock at suspend (or other scenarios triggering the kernel
> sequencer client).
> 
> This patch addresses the issue by taking the mutex only in the code
> paths invoked by user-space, just like the original fix patch does.
> 
> Reported-and-tested-by: Andres Bertens <abertensu@xxxxxxxxx>
> Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
> ---
> 
> Tagged as 4.4.x, but should be applied to other older kernels, too.
[...]

Thanks, I've queued this up for 3.2 and 3.16.

Ben.

-- 
Ben Hutchings
If you seem to know what you are doing, you'll be given more to do.

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


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]