[FIX] Add INIT_LIST_HEAD for kprobes list field
authorAlexander Aksenov <a.aksenov@samsung.com>
Fri, 13 Dec 2013 11:00:55 +0000 (15:00 +0400)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Mon, 16 Dec 2013 13:06:07 +0000 (13:06 +0000)
Change-Id: If945d140039364ec7738d558e21707847ca671c0
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
kprobe/dbi_kprobes.c

index 9048765..0710e28 100644 (file)
@@ -523,6 +523,7 @@ int dbi_register_kprobe(struct kprobe *p)
 #endif
        p->mod_refcounted = 0;
        p->nmissed = 0;
+       INIT_LIST_HEAD(&p->list);
 
        old_p = get_kprobe(p->addr);
        if (old_p) {