diff options
author | Dan Carpenter <[email protected]> | 2010-11-11 14:05:12 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-11-12 07:55:31 -0800 |
commit | d2e61b8dc99fdb36e0fd176e25365f69afda4ff9 (patch) | |
tree | 580325e7a44fc02d985bca17a1d7601e6ed81cb9 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 1093736b3c34319b8f1825a4423414d9cf397d73 (diff) |
memcg: null dereference on allocation failure
The original code had a null dereference if alloc_percpu() failed. This
was introduced in commit 711d3d2c9bc3 ("memcg: cpu hotplug aware percpu
count updates")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Balbir Singh <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Acked-by: Daisuke Nishimura <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions