[PATCH 0/2] ALSA: pcm: stream linking locking fixes

Michał Mirosław mirq-linux at rere.qmqm.pl
Mon Jun 8 12:06:30 CEST 2020


Two patches fixing locking issues for SNDRV_PCM_IOCTL_LINK handling:
first adds a check preventing linking a stream to itself, second quiets
lockdep warning about nested locks.

Michał Mirosław (2):
  ALSA: pcm: disallow linking stream to itself
  ALSA: pcm: fix snd_pcm_link() lockdep splat

 sound/core/pcm_native.c | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

-- 
2.20.1



More information about the Alsa-devel mailing list