Re: [PATCH 1/2] ALSA: pcm: disallow linking stream to itself

2020-06-08 Thread Takashi Iwai
On Mon, 08 Jun 2020 12:06:32 +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: sta...@vger.kernel.org > Fixes: 0888c321de70 ("pcm_nati

[PATCH 1/2] ALSA: pcm: disallow linking stream to itself

2020-06-08 Thread Michał Mirosław
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: sta...@vger.kernel.org Fixes: 0888c321de70 ("pcm_native: switch to fdget()/fdput()") Signed-off-by: Michał Mirosław --- sound