Thread (24 messages) 24 messages, 5 authors, 2008-10-13

Re: powerpc/cell/oprofile: avoid double free of profile buffer

From: Robert Richter <hidden>
Date: 2008-08-19 11:53:58
Also in: lkml

On 11.08.08 09:25:43, Arnd Bergmann wrote:
From: Carl Love <redacted>

If an error occurs on opcontrol start, the event and per cpu buffers
are released.  If later opcontrol shutdown is called then the free
function will be called again to free buffers that no longer
exist.  This results in a kernel oops.  The following changes
prevent the call to delete buffers that don't exist.

Signed-off-by: Carl Love <redacted>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Robert Richter <redacted>

-Robert

-- 
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter@amd.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help