Return-Path: Received: from mx2.suse.de ([195.135.220.15]:33783 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753530AbeDTSCs (ORCPT ); Fri, 20 Apr 2018 14:02:48 -0400 Date: Fri, 20 Apr 2018 20:02:47 +0200 Message-ID: From: Takashi Iwai To: 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 In-Reply-To: <1524240508177186@kroah.com> References: <1524240508177186@kroah.com> MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: stable-owner@vger.kernel.org List-ID: 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, Takashi