aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorZhang Yanfei <[email protected]>2013-02-27 17:03:29 -0800
committerLinus Torvalds <[email protected]>2013-02-27 19:10:12 -0800
commitb92e7e0daed31389ff5ad9f558ef1284c846f6ee (patch)
tree33ba2fe02e93a4af156f6425ac6dd0c5355b1980 /tools/perf/scripts/python/net_dropmonitor.py
parentfe88f2ee33731f0934e8fb26f762b6715e43ff6f (diff)
kexec: fix memory leak in function kimage_normal_alloc
If kimage_normal_alloc() fails to alloc pages for image->swap_page, it should call kimage_free_page_list() to free allocated pages in image->control_pages list before it frees image. Signed-off-by: Zhang Yanfei <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Cc: Sasha Levin <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions