From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:41268 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750814AbeDVHS6 (ORCPT ); Sun, 22 Apr 2018 03:18:58 -0400 Date: Sun, 22 Apr 2018 09:18:37 +0200 From: Greg KH To: Takashi Iwai Cc: stable@vger.kernel.org Subject: Re: FAILED: patch "[PATCH] ALSA: pcm: Avoid potential races between OSS ioctls and" failed to apply to 4.14-stable tree Message-ID: <20180422071837.GA18562@kroah.com> References: <1524240508177186@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: stable-owner@vger.kernel.org List-ID: On Fri, Apr 20, 2018 at 08:02:47PM +0200, Takashi Iwai wrote: > On Fri, 20 Apr 2018 18:08:28 +0200, > wrote: > > > > > > The patch below does not apply to the 4.14-stable tree. > > If someone wants it applied there, or to any other stable or longterm > > tree, then please email the backport, including the original git commit > > id to . > > It's because of one missing prerequisite commit. > > Could you cherry-pick the following commit at first? > c64ed5dd9feba193c76eb460b451225ac2a0d87b > ALSA: pcm: Use ERESTARTSYS instead of EINTR in OSS emulation > > Then the rest commits should be cleanly applicable, at least to > 4.14.y: > 02a5d6925cd34c3b774bdb8eefb057c40a30e870 > ALSA: pcm: Avoid potential races between OSS ioctls and read/write > 40cab6e88cb0b6c56d3f30b7491a20e803f948f6 > ALSA: pcm: Return -EBUSY for OSS ioctls changing busy streams > f6d297df4dd47ef949540e4a201230d0c5308325 > ALSA: pcm: Fix mutex unbalance in OSS emulation ioctls > e15dc99dbb9cf99f6432e8e3c0b3a8f7a3403a86 > ALSA: pcm: Fix endless loop for XRUN recovery in OSS emulation Thanks, that worked. greg k-h