Skip to content
Commit a2310c74 authored by Liao Chang's avatar Liao Chang Committed by Guo Ren
Browse files

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: default avatarChen Guokai <chenguokai17@mails.ucas.ac.cn>
Reviewed-by: default avatarMasami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: default avatarLiao Chang <liaochang1@huawei.com>
Signed-off-by: default avatarGuo Ren <guoren@kernel.org>
parent ff699273
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment