diff options
author | 2015-01-27 12:50:44 +0100 | |
---|---|---|
committer | 2015-01-28 07:22:23 +0100 | |
commit | 3d3ae4454deb94bbad9ad0b2b559cbf6c0db4ec2 (patch) | |
tree | 6d8e7f46288f73c352cfcedbaca9212524a4b11d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ALSA: line6: Minor tidy up in line6_probe() (diff) | |
download | wireguard-linux-3d3ae4454deb94bbad9ad0b2b559cbf6c0db4ec2.tar.xz wireguard-linux-3d3ae4454deb94bbad9ad0b2b559cbf6c0db4ec2.zip |
ALSA: line6: Fix racy loopback handling
The impulse and monitor handling in submit_audio_out_urb() isn't
protected thus this can be racy with the capture stream handling.
This patch extends the range to protect via each stream's spinlock
(now the whole submit_audio_*_urb() are covered), and take the capture
stream lock additionally for the impulse and monitor handling part.
Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions