]> bbs.cooldavid.org Git - net-next-2.6.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)
commit901d46d5a8eb821b03ca9e8cf005beb0c92f31ea
treefe3b5d015c456834ee2b900de2cfdd1d1b62b4bb
parent8699a0b657b43fa6401537dfe345bee7aa8115ec
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