diff options
author | Liao Chang <[email protected]> | 2022-05-25 16:02:41 +0800 |
---|---|---|
committer | Guo Ren <[email protected]> | 2022-07-22 21:36:14 -0400 |
commit | a2310c74d418deca0f1d749c45f1f43162510f51 (patch) | |
tree | 69a0d22e32cfbcd7bcdde2917901f3fe526da8dd /scripts/gdb/linux/genpd.py | |
parent | ff6992735ade75aae3e35d16b17da1008d753d28 (diff) |
csky/kprobe: reclaim insn_slot on kprobe unregistration
On kprobe registration kernel allocate one insn_slot for new kprobe,
but it forget to reclaim the insn_slot on unregistration, leading to a
potential leakage.
Reported-by: Chen Guokai <[email protected]>
Reviewed-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Liao Chang <[email protected]>
Signed-off-by: Guo Ren <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions