Skip to content
Commit 6b580f52 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: seq: Protect racy pool manipulation from OSS sequencer



OSS sequencer emulation still allows to queue and issue the events
that manipulate the client pool concurrently in a racy way.  This
patch serializes the access like the normal sequencer write / ioctl
via taking the client ioctl_mutex.  Since the access to the sequencer
client is done indirectly via a client id number, a new helper to
take/release the mutex is introduced.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 6740ea67
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment