Merge tag 'net-next-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev...
[linux-2.6-microblaze.git] / kernel / fork.c
index 757301c..695d134 100644 (file)
@@ -2085,6 +2085,7 @@ static __latent_entropy struct task_struct *copy_process(
 #endif
 #ifdef CONFIG_BPF_SYSCALL
        RCU_INIT_POINTER(p->bpf_storage, NULL);
+       p->bpf_ctx = NULL;
 #endif
 
        /* Perform scheduler related setup. Assign this task to a CPU. */