diff options
author | Wang Nan <[email protected]> | 2014-07-28 20:20:19 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-08-27 20:24:32 +0200 |
commit | 256aae5eac6d328067d1a986a7c5df6f19bdc8b4 (patch) | |
tree | d4ae86c28902fab926ec091287514ff60143ff6c /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 68e370289c29e3beac99d59c6d840d470af9dfcf (diff) |
kprobes/x86: Free 'optinsn' cache when range check fails
This patch frees the 'optinsn' slot when we get a range check error,
to prevent memory leaks.
Before this patch, cache entry in kprobe_insn_cache() won't be freed
if kprobe optimizing fails due to range check failure.
Signed-off-by: Wang Nan <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Cc: Pei Feiyue <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions