From: Akinobu Mita Date: Thu, 23 Nov 2006 11:03:24 +0000 (+0100) Subject: [ALSA] sound: fix PCM substream list X-Git-Tag: v2.6.20-rc2~86^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d361285925613516560f81f8c7fc96b89c8b1a8;p=pandora-kernel.git [ALSA] sound: fix PCM substream list If snd_pcm_new_stream() fails to initalize a substream (if snd_pcm_substream_proc_init() returns error), snd_pcm_new_stream() immediately return without unlinking that kfree()d substram. It causes oops when snd_pcm_free() iterates the list of substream to free them by invalid reference. Signed-off-by: Akinobu Mita Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed