diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/kprobes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/kprobes.c b/kernel/kprobes.c index dd42e717dd35..456ecedff2d4 100644 --- a/kernel/kprobes.c +++ b/kernel/kprobes.c | |||
@@ -335,6 +335,7 @@ int register_kprobe(struct kprobe *p) | |||
335 | } | 335 | } |
336 | spin_lock_irqsave(&kprobe_lock, flags); | 336 | spin_lock_irqsave(&kprobe_lock, flags); |
337 | old_p = get_kprobe(p->addr); | 337 | old_p = get_kprobe(p->addr); |
338 | p->nmissed = 0; | ||
338 | if (old_p) { | 339 | if (old_p) { |
339 | ret = register_aggr_kprobe(old_p, p); | 340 | ret = register_aggr_kprobe(old_p, p); |
340 | goto out; | 341 | goto out; |