diff options
author | Carl Love <[email protected]> | 2008-08-11 17:25:43 +1000 |
---|---|---|
committer | Paul Mackerras <[email protected]> | 2008-08-26 10:24:46 +1000 |
commit | f4156d1cd1dc260cca767a6c0636625f05446799 (patch) | |
tree | f0802db39246d371908a43dc992823feb82fecd8 /net/lapb/lapb_subr.c | |
parent | 2bb2e1db906e6e139636271d2cf46466d9e84005 (diff) |
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: Carl Love <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Robert Richter <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions