From b63ff67e06b449e5b17027d8bc5029e37d9ce3f2 Mon Sep 17 00:00:00 2001 From: Vyacheslav Cherkashin Date: Mon, 8 Apr 2013 09:41:01 +0400 Subject: [PATCH] [FIX] remove 'trampoline_p' probe, when unload kprobe module --- kprobe/arch/asm-arm/dbi_kprobes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kprobe/arch/asm-arm/dbi_kprobes.c b/kprobe/arch/asm-arm/dbi_kprobes.c index db765c4..8544cee 100644 --- a/kprobe/arch/asm-arm/dbi_kprobes.c +++ b/kprobe/arch/asm-arm/dbi_kprobes.c @@ -1634,6 +1634,7 @@ int __init arch_init_kprobes (void) void __exit dbi_arch_exit_kprobes (void) { + dbi_unregister_kprobe(&trampoline_p, NULL); undo_kpro(&undef_ho_u_t); undo_kpro(&undef_ho_u); undo_kpro(&undef_ho_k); -- 2.7.4