Skip to content

ALSA: yet more timer cleanup and fixes

Takashi Iwai alsa-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ALSA: timer: Unify timer callback process codesound/core/timer.c+26 -360 replies
2/4ALSA: timer: Make sure to clear pending ack listsound/core/timer.c+18 -20 replies
3/4ALSA: timer: Check ack_list emptiness instead of bit flaginclude/sound/timer.h sound/core/timer.c+4 -70 replies
4/4ALSA: timer: Make snd_timer_close() really kill pending actionssound/core/timer.c+33 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] ALSA: yet more timer cleanup and fixes

Hi,

while looking at the old syzkaller reports, I noticed that there are still some possible races around closing the timer object. Here is a patch set to cover it as well as some relevant cleanups / fixes.

I haven't set stable to Cc in them since they are really corner cases, and they haven't been tested much. But they should be safe (and easy) to backport, too, if any.

Takashi

===

Takashi Iwai (4):
ALSA: timer: Unify timer callback process code
ALSA: timer: Make sure to clear pending ack list
ALSA: timer: Check ack_list emptiness instead of bit flag
ALSA: timer: Make snd_timer_close() really kill pending actions

 include/sound/timer.h |   1 -
 sound/core/timer.c    | 123 ++++++++++++++++++++++++++++++--------------------
 2 files changed, 74 insertions(+), 50 deletions(-)
Signature · 1 line
2.16.4