[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240621190840.4da4b775@kernel.org>
Date: Fri, 21 Jun 2024 19:08:40 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org, "David S. Miller"
<davem@...emloft.net>, Daniel Bristot de Oliveira <bristot@...nel.org>,
Boqun Feng <boqun.feng@...il.com>, Daniel Borkmann <daniel@...earbox.net>,
Eric Dumazet <edumazet@...gle.com>, Frederic Weisbecker
<frederic@...nel.org>, Ingo Molnar <mingo@...hat.com>, Paolo Abeni
<pabeni@...hat.com>, Peter Zijlstra <peterz@...radead.org>, Thomas Gleixner
<tglx@...utronix.de>, Waiman Long <longman@...hat.com>, Will Deacon
<will@...nel.org>, Alexei Starovoitov <ast@...nel.org>, Andrii Nakryiko
<andrii@...nel.org>, Eduard Zingerman <eddyz87@...il.com>, Hao Luo
<haoluo@...gle.com>, Jesper Dangaard Brouer <hawk@...nel.org>, Jiri Olsa
<jolsa@...nel.org>, John Fastabend <john.fastabend@...il.com>, KP Singh
<kpsingh@...nel.org>, Martin KaFai Lau <martin.lau@...ux.dev>, Song Liu
<song@...nel.org>, Stanislav Fomichev <sdf@...gle.com>, Toke
Høiland-Jørgensen <toke@...hat.com>, Yonghong Song
<yonghong.song@...ux.dev>, bpf@...r.kernel.org
Subject: Re: [PATCH v9 net-next 14/15] net: Reference bpf_redirect_info via
task_struct on PREEMPT_RT.
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?
Powered by blists - more mailing lists