Skip to content
Commit 44b7f4b9 authored by Will Deacon's avatar Will Deacon Committed by Ingo Molnar
Browse files

perf events: Fix ring_buffer_wakeup() brown paperbag bug

Commit 10c6db11

 ("perf: Fix loss of notification with multi-event")
seems to unconditionally dereference event->rb in the wakeup handler,
this is wrong, there might not be a buffer attached.

Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20111213152651.GP20297@mudshark.cambridge.arm.com
[ minor edits ]
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 373da0a2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment