net,rcu: convert call_rcu(net_generic_release) to kfree_rcu()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Fri, 18 Mar 2011 04:06:32 +0000 (12:06 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 8 May 2011 05:51:07 +0000 (22:51 -0700)
commit04d4dfed8e64f65d672502a614a4bb9093d1affd
tree1b1bd07034d293daa6a4b8f0ddf8d7c0ea81a65c
parent6b2622328110b9c1094a4f644a6cdc9b6d5450ac
net,rcu: convert call_rcu(net_generic_release) to kfree_rcu()

The rcu callback net_generic_release() just calls a kfree(),
so we use kfree_rcu() instead of the call_rcu(net_generic_release).

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
net/core/net_namespace.c