Re: [PATCH v9 net-next 14/15] net: Reference bpf_redirect_info via task_struct on PREEMPT_RT.

From: Jakub Kicinski
Date: Fri Jun 21 2024 - 22:08:57 EST


On Thu, 20 Jun 2024 15:22:04 +0200 Sebastian Andrzej Siewior wrote:
> diff --git a/kernel/fork.c b/kernel/fork.c
> index 99076dbe27d83..f314bdd7e6108 100644
> --- a/kernel/fork.c
> +++ b/kernel/fork.c
> @@ -2355,6 +2355,7 @@ __latent_entropy struct task_struct *copy_process(
> RCU_INIT_POINTER(p->bpf_storage, NULL);
> p->bpf_ctx = NULL;
> #endif
> + p->bpf_net_context = NULL;

nit: double space after =

Out of curiosity, do we actually have to clear this pointer?