OrangePi_CM5/arch/csky
Liao Chang fa45327d8c csky/kprobe: reclaim insn_slot on kprobe unregistration
[ Upstream commit a2310c74d418deca0f1d749c45f1f43162510f51 ]

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 <chenguokai17@mails.ucas.ac.cn>
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Liao Chang <liaochang1@huawei.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-25 11:38:16 +02:00
..
abiv1
…
abiv2
…
boot
…
configs
…
include csky: change a Kconfig symbol name to fix e1000 build error 2021-04-28 13:40:02 +02:00
kernel csky/kprobe: reclaim insn_slot on kprobe unregistration 2022-08-25 11:38:16 +02:00
lib
…
mm csky: syscache: Fixup duplicate cache flush 2021-07-14 16:56:52 +02:00
Kconfig csky: change a Kconfig symbol name to fix e1000 build error 2021-04-28 13:40:02 +02:00
Kconfig.debug
…
Kconfig.platforms
…
Makefile
…