]> bbs.cooldavid.org Git - net-next-2.6.git/commit
OSS: soundcard: locking bug in sound_ioctl()
authorDan Carpenter <error27@gmail.com>
Sun, 10 Oct 2010 17:33:52 +0000 (19:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Oct 2010 11:44:17 +0000 (13:44 +0200)
commitd4cfa4d12f46e2520f4c1d1a92e891ce068b7464
tree3c5fa5a8e2c29f7adfac3ed11c53d30b158c6220
parentcb655d0f3d57c23db51b981648e452988c0223f9
OSS: soundcard: locking bug in sound_ioctl()

We shouldn't return directly here because we're still holding the
&soundcard_mutex.

This bug goes all the way back to the start of git.  It's strange that
no one has complained about it as a runtime bug.

CC: stable@kernel.org
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/soundcard.c