Re: [PATCH 6.18.y 2/2] netfilter: nf_tables: join hook list via splice_list_rcu() in commit phase

From: Greg KH

Date: Fri Sep 25 2026 - 10:29:31 EST


On Fri, Sep 25, 2026 at 09:52:24AM +0200, Benjamin Robin (Schneider Electric) wrote:
> From: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
>
> [ Upstream commit a6134e62dba2ea4f760b29d5226907f447c92400 ]
>
> Publish new hooks in the list into the basechain/flowtable using
> splice_list_rcu() to ensure netlink dump list traversal via rcu is safe
> while concurrent ruleset update is going on.
>
> Fixes: 78d9f48f7f44 ("netfilter: nf_tables: add devices to existing flowtable")
> Fixes: b9703ed44ffb ("netfilter: nf_tables: support for adding new devices to an existing netdev chain")
> Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>
> ---
> net/netfilter/nf_tables_api.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)

Again, no signed-off-by :(