aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/hotplug/ibmphp_hpc.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2009-12-30 16:00:35 +0100
committerIngo Molnar <[email protected]>2009-12-31 13:11:31 +0100
commit05cbaa2853cdfc255fdd04e65a82bfe9208c4e52 (patch)
tree83a6b8ea45fe181e623aa6c532cb9176400199de /drivers/pci/hotplug/ibmphp_hpc.c
parent48b5ba9cc98d676712da29d9931f1c88e5185ff2 (diff)
perf: Fix NULL deref in inheritance code
Liming found a NULL deref when a task has a perf context but no counters when it forks. This can occur in two cases, a race during construction where the fork hits after installing the context but before the first counter gets inserted, or more reproducably, a fork after the last counter is closed (which leaves the context around). Reported-by: Wang Liming <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Paul Mackerras <[email protected]> CC: <[email protected]> LKML-Reference: <1262185684.7135.222.camel@laptop> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/pci/hotplug/ibmphp_hpc.c')
0 files changed, 0 insertions, 0 deletions