mbox series

[0/2] ALSA: control: Race fix and cleanup for user ctls

Message ID 20181122161034.30212-1-tiwai@suse.de (mailing list archive)
Headers show
Series ALSA: control: Race fix and cleanup for user ctls | expand

Message

Takashi Iwai Nov. 22, 2018, 4:10 p.m. UTC
Hi,

there seems a possible race between addition and removal of a user ctl
element as spotted by syzkaller.  This patchset addresses it and also
provides a cleanup thereafter.  The first one should go to 4.20 while
the second one should go for 4.21.


Takashi

===

Takashi Iwai (2):
  ALSA: control: Fix race between adding and removing a user element
  ALSA: control: Consolidate helpers for adding and replacing ctl
    elements

 sound/core/control.c | 171 ++++++++++++++++++++-----------------------
 1 file changed, 81 insertions(+), 90 deletions(-)