From: Paul Moore Date: Mon, 25 Feb 2008 16:40:33 +0000 (-0500) Subject: SELinux: Correct the NetLabel locking for the sk_security_struct X-Git-Tag: v2.6.26-rc1~1157^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f74af6e816c940c678c235d49486fe40d7e49ce9;p=pandora-kernel.git SELinux: Correct the NetLabel locking for the sk_security_struct The RCU/spinlock locking approach for the nlbl_state in the sk_security_struct was almost certainly overkill. This patch removes both the RCU and spinlock locking, relying on the existing socket locks to handle the case of multiple writers. This change also makes several code reductions possible. Less locking, less code - it's a Good Thing. Signed-off-by: Paul Moore Signed-off-by: James Morris --- Reading git-diff-tree failed