diff options
author | 2020-04-24 09:40:16 +0200 | |
---|---|---|
committer | 2020-04-24 09:55:08 +0200 | |
commit | 5b6cc38f3f3f37109ce72b60bda215a5f6892c0b (patch) | |
tree | fb7bf4df502f86f6cf8ce5d48bafe316a31ecf72 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ALSA: usb-audio: Remove async workaround for Scarlett 2nd gen (diff) | |
download | wireguard-linux-5b6cc38f3f3f37109ce72b60bda215a5f6892c0b.tar.xz wireguard-linux-5b6cc38f3f3f37109ce72b60bda215a5f6892c0b.zip |
ALSA: usb-audio: Fix racy list management in output queue
The linked list entry from FIFO is peeked at
queue_pending_output_urbs() but the actual element pop-out is
performed outside the spinlock, and it's potentially racy.
Do delete the link at the right place inside the spinlock.
Fixes: 8fdff6a319e7 ("ALSA: snd-usb: implement new endpoint streaming model")
Link: https://lore.kernel.org/r/20200424074016.14301-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions