Thread (4 messages) 4 messages, 2 authors, 27d ago

Re: [PATCH nf] net/sched: act_ct: set net pointer before publishing flowtable

flat view

From: Qingfang Deng <hidden>
Date: 2026-09-10 09:04:01
Also in: lkml, netfilter-devel

Hi,

On 2026/9/10 14:09, Xuanqiang Luo wrote:
quoted
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/ (local)

Kind regards,
Qingfang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help