Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
[linux-2.6-microblaze.git] / kernel / fork.c
index f1e8900..d94f002 100644 (file)
@@ -2255,6 +2255,9 @@ static __latent_entropy struct task_struct *copy_process(
 #ifdef CONFIG_KRETPROBES
        p->kretprobe_instances.first = NULL;
 #endif
+#ifdef CONFIG_RETHOOK
+       p->rethooks.first = NULL;
+#endif
 
        /*
         * Ensure that the cgroup subsystem policies allow the new process to be