X-Git-Url: http://git.monstr.eu/?p=linux-2.6-microblaze.git;a=blobdiff_plain;f=kernel%2Ffork.c;h=695d1343a254ee635b0e17afc5c9f964e74ea173;hp=757301cf4d804c7b932156bd0bef73fc5afd84ea;hb=9e9fb7655ed585da8f468e29221f0ba194a5f613;hpb=0a096f240aa1992ddac65f8e704f7b0c0795fe1c diff --git a/kernel/fork.c b/kernel/fork.c index 757301cf4d80..695d1343a254 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -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. */