From: Paul Moore Date: Fri, 25 Apr 2008 19:03:39 +0000 (-0400) Subject: SELinux: Fix a RCU free problem with the netport cache X-Git-Tag: v2.6.26-rc1~703^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9b7b9793764b171a118d049d4b721a7f5d8ac82;p=pandora-kernel.git 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 Signed-off-by: James Morris --- Reading git-diff-tree failed