commit | ffdd98277f0a1d15a67a74ae09bee713df4c0dbc | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Fri Nov 05 10:15:17 2021 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Nov 05 11:27:27 2021 +0100 |
tree | c6e58a9e896d4d96c45eaf983797a124bebb2c2b | |
parent | dce9446192439eaac81c21f517325fb473735e53 [diff] |
ALSA: timer: Unconditionally unlink slave instances, too Like the previous fix (commit c0317c0e8709 "ALSA: timer: Fix use-after-free problem"), we have to unlink slave timer instances immediately at snd_timer_stop(), too. Otherwise it may leave a stale entry in the list if the slave instance is freed before actually running. Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20211105091517.21733-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>