From 3d3ae4454deb94bbad9ad0b2b559cbf6c0db4ec2 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 27 Jan 2015 12:50:44 +0100 Subject: [PATCH] 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 Signed-off-by: Takashi Iwai --- Reading git-format-patch failed