diff options
Diffstat (limited to 'arch/x86_64/kernel/kprobes.c')
-rw-r--r-- | arch/x86_64/kernel/kprobes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/kprobes.c b/arch/x86_64/kernel/kprobes.c index 90e7008cd89..5841ba5f479 100644 --- a/arch/x86_64/kernel/kprobes.c +++ b/arch/x86_64/kernel/kprobes.c | |||
@@ -447,7 +447,7 @@ int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs) | |||
447 | break; | 447 | break; |
448 | } | 448 | } |
449 | 449 | ||
450 | BUG_ON(!orig_ret_address || (orig_ret_address == trampoline_address)); | 450 | kretprobe_assert(ri, orig_ret_address, trampoline_address); |
451 | regs->rip = orig_ret_address; | 451 | regs->rip = orig_ret_address; |
452 | 452 | ||
453 | reset_current_kprobe(); | 453 | reset_current_kprobe(); |