]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm - Fix race with proc files
authorTakashi Iwai <tiwai@suse.de>
Thu, 16 Sep 2010 21:06:50 +0000 (23:06 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 Sep 2010 21:06:50 +0000 (23:06 +0200)
commitb7e917381623b6d98d200c4b9faa35592f96eacc
treefe3b5d015c456834ee2b900de2cfdd1d1b62b4bb
parent3698c94654850271e0b0b9d60139a5e8feacdea5
ALSA: pcm - Fix race with proc files

The PCM proc files may open a race against substream close, which can
end up with an Oops.  Use the open_mutex to protect for it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm.c