]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm: Use deferred fasync helper
authorTakashi Iwai <tiwai@suse.de>
Thu, 28 Jul 2022 12:59:44 +0000 (14:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Jul 2022 10:57:11 +0000 (12:57 +0200)
commitf431b6605f268e100cd16ee528fbc7a9f3d9e480
tree71623428159e0aeb4141102c3d0b7b53d47bfbf0
parent4744d4f8e6c468ad1d824c54e54f04c1690e3695
ALSA: pcm: Use deferred fasync helper

For avoiding the potential deadlock via kill_fasync() call, use the
new fasync helpers to defer the invocation from timer API.  Note that
it's merely a workaround.

Reported-by: syzbot+8285e973a41b5aa68902@syzkaller.appspotmail.com
Reported-by: syzbot+669c9abf11a6a011dd09@syzkaller.appspotmail.com
Link: https://lore.kernel.org/r/20220728125945.29533-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
sound/core/pcm.c
sound/core/pcm_lib.c
sound/core/pcm_native.c