]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net,rcu: convert call_rcu(tcf_police_free_rcu) to kfree_rcu()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 15 Mar 2011 09:58:00 +0000 (17:58 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 8 May 2011 05:50:48 +0000 (22:50 -0700)
commit5957b1ac52c5fde2afe5d80abe2a1cb82a9b4f20
tree1b0a04a440d272fe925afd9cfe597bbc509c57bd
parentf5c8593c107500979909bd51c85e74bb2eaffbaa
net,rcu: convert call_rcu(tcf_police_free_rcu) to kfree_rcu()

[PATCH 05/17] net,rcu: convert call_rcu(tcf_police_free_rcu) to kfree_rcu()

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

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/sched/act_police.c