Skip to contentSkip to conversation

netfilter: nf_queue: remove leftover synchronize_rcu

PATCH Applied Florian Westphal 2 participants 2 messages Nov 19, 2021 – Nov 30, 2021

Subsystems (2)
lore
Share & tools
lore

Florian Westphal

author maintainer
#0 lore raw

PATCH 1/1 netfilter: nf_queue: remove leftover synchronize_rcu

Its no longer needed after commit 870299707436 ("netfilter: nf_queue: move hookfn registration out of struct net").

---
 net/netfilter/nfnetlink_queue.c | 6 ------
 1 file changed, 6 deletions(-)
net/netfilter/nfnetlink_queue.c +0 -6
index 4acc4b8e9fe5..b61165e97252 100644
@@ -1527,15 +1527,9 @@ static void __net_exit nfnl_queue_net_exit(struct net *net)
 		WARN_ON_ONCE(!hlist_empty(&q->instance_table[i]));
 }
 
-static void nfnl_queue_net_exit_batch(struct list_head *net_exit_list)
-{
-	synchronize_rcu();
-}
-
 static struct pernet_operations nfnl_queue_net_ops = {
 	.init		= nfnl_queue_net_init,
 	.exit		= nfnl_queue_net_exit,
-	.exit_batch	= nfnl_queue_net_exit_batch,
 	.id		= &nfnl_queue_net_id,
 	.size		= sizeof(struct nfnl_queue_net),
 };
Signature · 1 line
2.32.0
maintainer Applied
#1 lore raw
Quoted 2 lines · Florian Westphal

Its no longer needed after commit 870299707436 ("netfilter: nf_queue: move hookfn registration out of struct net").

Applied, thanks