mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Qingfang Deng <qingfang.deng@linux.dev>
To: Xuanqiang Luo <xuanqiang.luo@linux.dev>
Cc: netfilter-devel@vger.kernel.org,
	Jamal Hadi Salim <jhs@mojatatu.com>,
	Jiri Pirko <jiri@resnulli.us>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Simon Horman <horms@kernel.org>, Oz Shlomo <ozsh@nvidia.com>,
	Vlad Buslov <vladbu@nvidia.com>,
	Pablo Neira Ayuso <pablo@netfilter.org>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH nf] net/sched: act_ct: set net pointer before publishing flowtable
Date: Thu, 10 Sep 2026 17:03:52 +0800	[thread overview]
Message-ID: <94103430-c2e8-491d-880c-c4690c5e3f98@linux.dev> (raw)
In-Reply-To: <fa0181b9-d715-41c6-8086-af410ee4131b@linux.dev>

Hi,

On 2026/9/10 14:09, Xuanqiang Luo wrote:
>> nf_flow_table_init() adds the flowtable to the global flowtables list.
>> However, tcf_ct_flow_table_get() sets the table's network namespace only
>> after that call, leaving a window where the published table has a NULL
>> namespace pointer.
>
> The window does exist, but can any existing code path actually read
> flowtable->net during this window? Could you also describe that path
> in the commit message? 

There's none. The patch is a preparation for:
https://lore.kernel.org/netfilter-devel/20260909081705.1512600-1-qingfang.deng@linux.dev/

Kind regards,
Qingfang

  reply	other threads:[~2026-09-10  9:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-09  7:56 Qingfang Deng
2026-09-10  6:09 ` Xuanqiang Luo
2026-09-10  9:03   ` Qingfang Deng [this message]
2026-09-10  9:43     ` Xuanqiang Luo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94103430-c2e8-491d-880c-c4690c5e3f98@linux.dev \
    --to=qingfang.deng@linux.dev \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=jhs@mojatatu.com \
    --cc=jiri@resnulli.us \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=ozsh@nvidia.com \
    --cc=pabeni@redhat.com \
    --cc=pablo@netfilter.org \
    --cc=vladbu@nvidia.com \
    --cc=xuanqiang.luo@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®