]> git.karo-electronics.de Git - karo-tx-linux.git/commit
security,rcu: Convert call_rcu(sel_netnode_free) to kfree_rcu()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Fri, 18 Mar 2011 04:05:22 +0000 (12:05 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 1 Aug 2011 08:36:54 +0000 (01:36 -0700)
commit7978d30c3f4537682555436e8bb5855f5f5b1f26
tree87c34bfa049937bd7836f943cb48232f971b0ea0
parent145c1128921f8b6e0975681533404b9daf8c3a47
security,rcu: Convert call_rcu(sel_netnode_free) to kfree_rcu()

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

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Cc: James Morris <jmorris@namei.org>
Cc: Eric Paris <eparis@parisplace.org>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
security/selinux/netnode.c