diff options
author | Will Deacon <will.deacon@arm.com> | 2011-12-13 19:40:45 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-12-14 07:44:53 (GMT) |
commit | 44b7f4b98d8877e2a4427f2a2f2e42ae8227a58f (patch) | |
tree | 929c7c5c177fa072216445de276592843ebae4d8 /mm/mm_init.c | |
parent | 373da0a2a33018d560afcb2c77f8842985d79594 (diff) | |
download | linux-44b7f4b98d8877e2a4427f2a2f2e42ae8227a58f.tar.xz |
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: Will Deacon <will.deacon@arm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20111213152651.GP20297@mudshark.cambridge.arm.com
[ minor edits ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions