Re: [PATCH v2] ALSA: pcm: disallow linking stream to itself

From: Takashi Iwai
Date: Mon Jun 08 2020 - 13:36:00 EST


On Mon, 08 Jun 2020 18:50:39 +0200,
MichaÅ MirosÅaw wrote:
>
> Prevent SNDRV_PCM_IOCTL_LINK linking stream to itself - the code
> can't handle it. Fixed commit is not where bug was introduced, but
> changes the context significantly.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: 0888c321de70 ("pcm_native: switch to fdget()/fdput()")
> Signed-off-by: MichaÅ MirosÅaw <mirq-linux@xxxxxxxxxxxx>
> ---
> v2: EDEADLK -> EINVAL

Applied now. Thanks!


Takashi