]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: rawmidi - Fix possible race in open
authorTakashi Iwai <tiwai@suse.de>
Wed, 11 Feb 2009 13:55:59 +0000 (14:55 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 Mar 2009 14:17:21 +0000 (15:17 +0100)
commitfc4a50ebffd021a2aa4f86553f9e996639250613
tree4bd6b75853a5bad34fb17d95afa33b1e3f4997bb
parent9b689d49551a587b692ec9b1b874d82c049d90a2
ALSA: rawmidi - Fix possible race in open

The module refcount should be handled in the register_mutex to avoid
possible races with module unloading.

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