Merge tag 'net-next-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev...
[linux-2.6-microblaze.git] / kernel / fork.c
index d74c30b..834af51 100644 (file)
@@ -2322,6 +2322,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