kernel-hacking-2024-linux-s.../sound/core
Takashi Iwai a0830dbd4e ALSA: Add a reference counter to card instance
For more strict protection for wild disconnections, a refcount is
introduced to the card instance, and let it up/down when an object is
referred via snd_lookup_*() in the open ops.

The free-after-last-close check is also changed to check this refcount
instead of the empty list, too.

Reported-by: Matthieu CASTET <matthieu.castet@parrot.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-10-30 11:07:10 +01:00
..
oss ALSA: Add a reference counter to card instance 2012-10-30 11:07:10 +01:00
seq ALSA: lto, sound: Fix export symbols for !CONFIG_MODULES 2012-08-20 11:53:10 +02:00
compress_offload.c ALSA: Add a reference counter to card instance 2012-10-30 11:07:10 +01:00
control.c ALSA: Add a reference counter to card instance 2012-10-30 11:07:10 +01:00
control_compat.c
ctljack.c
device.c
hrtimer.c
hwdep.c ALSA: Add a reference counter to card instance 2012-10-30 11:07:10 +01:00
hwdep_compat.c
info.c ALSA: remove the main version information 2012-09-04 11:38:32 +02:00
info_oss.c ALSA: remove the main version information 2012-09-04 11:38:32 +02:00
init.c ALSA: Add a reference counter to card instance 2012-10-30 11:07:10 +01:00
isadma.c
jack.c ALSA: jack: Update documention to reflect other userspace interfaces 2012-05-07 18:11:37 +02:00
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound 2012-01-17 10:48:13 -08:00
Makefile
memalloc.c
memory.c
misc.c sound: use printk_get_level and printk_skip_level 2012-07-30 17:25:14 -07:00
pcm.c ALSA: PCM: Fix some races at disconnection 2012-10-30 11:06:48 +01:00
pcm_compat.c
pcm_lib.c ALSA: Fix leftover chmap UNKNOWN -> MONO conversions 2012-09-13 14:48:46 +02:00
pcm_memory.c ALSA: Make snd_sgbuf_get_{ptr|addr}() available for non-SG cases 2012-09-23 11:24:42 +02:00
pcm_misc.c ALSA: pcm: Add snd_pcm_rate_bit_to_rate() 2012-06-18 09:38:58 +02:00
pcm_native.c ALSA: Add a reference counter to card instance 2012-10-30 11:07:10 +01:00
pcm_timer.c
rawmidi.c ALSA: Add a reference counter to card instance 2012-10-30 11:07:10 +01:00
rawmidi_compat.c
rtctimer.c
sgbuf.c ALSA: Make snd_sgbuf_get_{ptr|addr}() available for non-SG cases 2012-09-23 11:24:42 +02:00
sound.c ALSA: Add a reference counter to card instance 2012-10-30 11:07:10 +01:00
sound_oss.c ALSA: Add a reference counter to card instance 2012-10-30 11:07:10 +01:00
timer.c device.h: cleanup users outside of linux/include (C files) 2012-03-11 14:27:37 -04:00
timer_compat.c
vmaster.c ALSA: fix core/vmaster.c kernel-doc warning 2012-04-18 07:56:15 +02:00