Re: [PATCH nf] net/sched: act_ct: set net pointer before publishing flowtable
From: Qingfang Deng
Date: Thu Sep 10 2026 - 05:52:16 EST
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@xxxxxxxxx/
Kind regards,
Qingfang