From: Florian Westphal Date: Fri, 19 Nov 2021 12:33:09 +0000 (+0100) Subject: netfilter: nf_queue: remove leftover synchronize_rcu X-Git-Tag: v5.17-rc1~170^2~178^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c5fc837bf93455376b6377fa6a56166297409ff5;p=thirdparty%2Flinux.git netfilter: nf_queue: remove leftover synchronize_rcu Its no longer needed after commit 870299707436 ("netfilter: nf_queue: move hookfn registration out of struct net"). Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso --- diff --git a/net/netfilter/nfnetlink_queue.c b/net/netfilter/nfnetlink_queue.c index 4acc4b8e9fe5a..b61165e97252a 100644 --- a/net/netfilter/nfnetlink_queue.c +++ b/net/netfilter/nfnetlink_queue.c @@ -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), };