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: NChen Guokai <chenguokai17@mails.ucas.ac.cn> Reviewed-by: NMasami Hiramatsu (Google) <mhiramat@kernel.org> Signed-off-by: NLiao Chang <liaochang1@huawei.com> Signed-off-by: NGuo Ren <guoren@kernel.org>
Showing
想要评论请 注册 或 登录