Skip to content
Snippets Groups Projects
Commit f4156d1c authored by Carl Love's avatar Carl Love Committed by Paul Mackerras
Browse files

powerpc/cell/oprofile: Avoid double vfree of profile buffer


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: default avatarCarl Love <carll@us.ibm.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarRobert Richter <robert.richter@amd.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 2bb2e1db
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment