diff options
author | Paul Moore <paul.moore@hp.com> | 2008-04-25 21:03:39 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-04-28 01:36:27 +0200 |
commit | c9b7b9793764b171a118d049d4b721a7f5d8ac82 (patch) | |
tree | d9b0bf6c44a6672f6c3e08da340f6544056932e5 /security/security.c | |
parent | SELinux: Made netnode cache adds faster (diff) | |
download | linux-c9b7b9793764b171a118d049d4b721a7f5d8ac82.tar.xz linux-c9b7b9793764b171a118d049d4b721a7f5d8ac82.zip |
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>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions