Revision 71e7bc2bab77e64882c031c2af943c3256c1adb0 authored by David Carrillo-Cisneros on 17 August 2016, 20:55:04 UTC, committed by Ingo Molnar on 18 August 2016, 08:35:52 UTC
The call to smp_call_function_single in perf_event_read() may fail if
an invalid or not online CPU index is passed. Warn user if such bug is
present and return error.

Signed-off-by: David Carrillo-Cisneros <davidcc@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Turner <pjt@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Link: http://lkml.kernel.org/r/1471467307-61171-2-git-send-email-davidcc@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 99f5bc9
History
File Mode Size
6lowpan_i.h -rw-r--r-- 970 bytes
Kconfig -rw-r--r-- 2.7 KB
Makefile -rw-r--r-- 831 bytes
core.c -rw-r--r-- 4.3 KB
debugfs.c -rw-r--r-- 8.0 KB
iphc.c -rw-r--r-- 36.1 KB
ndisc.c -rw-r--r-- 6.7 KB
nhc.c -rw-r--r-- 5.3 KB
nhc.h -rw-r--r-- 4.3 KB
nhc_dest.c -rw-r--r-- 860 bytes
nhc_fragment.c -rw-r--r-- 868 bytes
nhc_ghc_ext_dest.c -rw-r--r-- 880 bytes
nhc_ghc_ext_frag.c -rw-r--r-- 892 bytes
nhc_ghc_ext_hop.c -rw-r--r-- 868 bytes
nhc_ghc_ext_route.c -rw-r--r-- 885 bytes
nhc_ghc_icmpv6.c -rw-r--r-- 823 bytes
nhc_ghc_udp.c -rw-r--r-- 781 bytes
nhc_hop.c -rw-r--r-- 843 bytes
nhc_ipv6.c -rw-r--r-- 807 bytes
nhc_mobility.c -rw-r--r-- 868 bytes
nhc_routing.c -rw-r--r-- 855 bytes
nhc_udp.c -rw-r--r-- 5.7 KB

back to top