commit | c9b7b9793764b171a118d049d4b721a7f5d8ac82 | [log] [tgz] |
---|---|---|
author | Paul Moore <paul.moore@hp.com> | Fri Apr 25 15:03:39 2008 -0400 |
committer | James Morris <jmorris@namei.org> | Mon Apr 28 09:36:27 2008 +1000 |
tree | d9b0bf6c44a6672f6c3e08da340f6544056932e5 | |
parent | a639e7ca8e8282b75be2724a28bfc788aa3bb156 [diff] |
SELinux: Fix a RCU free problem with the netport cache The netport cache doesn't free resources in a manner which is safe or orderly. This patch fixes this by adding in a missing call to rcu_dereference() in sel_netport_insert() as well as some general cleanup throughout the file. Signed-off-by: Paul Moore <paul.moore@hp.com> Signed-off-by: James Morris <jmorris@namei.org>