summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-02-08 17:26:58 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-17 12:31:00 -0800
commit925249d5172a31d7d430fdf364fc9229223c7942 (patch)
treeeb83232c7dbdb3521a51eae640759c406d676861 /tools/perf/scripts/python/bin
parentce60478a9959a8e1d1dcc70325e72678e78d85c5 (diff)
ALSA: timer: Fix race at concurrent reads
commit 4dff5c7b7093b19c19d3a100f8a3ad87cb7cd9e7 upstream. snd_timer_user_read() has a potential race among parallel reads, as qhead and qused are updated outside the critical section due to copy_to_user() calls. Move them into the critical section, and also sanitize the relevant code a bit. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions