net,rcu: Convert call_rcu(xt_rateest_free_rcu) to kfree_rcu()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 2 May 2011 08:00:18 +0000 (01:00 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 20 Jul 2011 21:10:19 +0000 (14:10 -0700)
commitcefcb602012482003ca2ccc44fcba628d006e4bd
tree798dc373f83d8b7e6c5de17a13288e589218be48
parenta95cded32de3deae13af34715200532e6823cc9f
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: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Patrick McHardy <kaber@trash.net>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
net/netfilter/xt_RATEEST.c