diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-27 12:50:44 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-28 07:22:23 +0100 |
commit | 3d3ae4454deb94bbad9ad0b2b559cbf6c0db4ec2 (patch) | |
tree | 6d8e7f46288f73c352cfcedbaca9212524a4b11d /sound/isa/msnd | |
parent | d6ca69d82522cb0e59777deea3673c85c7db7f45 (diff) | |
download | linux-3d3ae4454deb94bbad9ad0b2b559cbf6c0db4ec2.tar.gz linux-3d3ae4454deb94bbad9ad0b2b559cbf6c0db4ec2.tar.bz2 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 'sound/isa/msnd')
0 files changed, 0 insertions, 0 deletions