Skip to content
Commit cefcb602 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

net,rcu: Convert call_rcu(xt_rateest_free_rcu) to kfree_rcu()



The RCU callback xt_rateest_free_rcu() just calls kfree(), so we can
use kfree_rcu() instead of call_rcu().  This also allows us to dispense
with an rcu_barrier() call, speeding up unloading of this module.

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Patrick McHardy <kaber@trash.net>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
parent a95cded3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment