macvlan,rcu: convert call_rcu(macvlan_port_rcu_free) to kfree_rcu()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Fri, 18 Mar 2011 04:00:07 +0000 (12:00 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 8 May 2011 05:51:01 +0000 (22:51 -0700)
commit6e070aecd9e304264a6b8655f49aa7e6db0e55f2
treefc9d4b92d7fc3ca75f88b8e730f0b5f3e2a57e2e
parentbcec8b6531d481ced35506517af69adb2399f2a4
macvlan,rcu: convert call_rcu(macvlan_port_rcu_free) to kfree_rcu()

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

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>
drivers/net/macvlan.c