aboutsummaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2016-09-23 22:57:13 -0400
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:58:49 +0200
commitda3412a89aebc22ff23afb3a2920014dece7d022 (patch)
tree504cadb11721156106d1855e2d73c4bc027a1cfd /virt
parent3f3399ad838b04ef3f870afbdfddbdcb680f461d (diff)
tracing: Move mutex to protect against resetting of seq data
commit 1245800c0f96eb6ebb368593e251d66c01e61022 upstream. The iter->seq can be reset outside the protection of the mutex. So can reading of user data. Move the mutex up to the beginning of the function. Fixes: d7350c3f45694 ("tracing/core: make the read callbacks reentrants") Reported-by: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions