Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75ef0368 authored by Lai Jiangshan's avatar Lai Jiangshan Committed by Paul E. McKenney
Browse files

net,act_police,rcu: remove rcu_barrier()



There is no callback of this module maybe queued
since we use kfree_rcu(), we can safely remove the rcu_barrier().

Signed-off-by: default avatarLai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
parent 1e547757
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -396,7 +396,6 @@ static void __exit
police_cleanup_module(void)
{
	tcf_unregister_action(&act_police_ops);
	rcu_barrier(); /* Wait for completion of call_rcu()'s (tcf_police_free_rcu) */
}

module_init(police_init_module);