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

The rcu callback sel_netport_free() just calls a kfree(),
so we use kfree_rcu() instead of the call_rcu(sel_netport_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/netport.c