From: paul.moore@hp.com Date: Wed, 4 Oct 2006 15:46:31 +0000 (-0400) Subject: NetLabel: fix a cache race condition X-Git-Tag: v2.6.19-rc2~17^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffb733c65000ee701294f7b80c4eca2a5f335637;p=pandora-kernel.git NetLabel: fix a cache race condition Testing revealed a problem with the NetLabel cache where a cached entry could be freed while in use by the LSM layer causing an oops and other problems. This patch fixes that problem by introducing a reference counter to the cache entry so that it is only freed when it is no longer in use. Signed-off-by: Paul Moore Signed-off-by: James Morris --- Reading git-diff-tree failed