SELinux: restore proper NetLabel caching behavior
authorPaul Moore <paul.moore@hp.com>
Mon, 30 Jul 2007 20:33:26 +0000 (16:33 -0400)
committerJames Morris <jmorris@namei.org>
Thu, 2 Aug 2007 15:52:21 +0000 (11:52 -0400)
commit9534f71ca33e5a9de26dfd43c76af86e005005dd
tree344444735f541f79ed98cc38fa9040bc018ec66e
parent1ed4395035a6791ebbbf618429a58ab9c207cc83
SELinux: restore proper NetLabel caching behavior

A small fix to the SELinux/NetLabel glue code to ensure that the NetLabel
cache is utilized when possible.  This was broken when the SELinux/NetLabel
glue code was reorganized in the last kernel release.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
include/net/netlabel.h
security/selinux/netlabel.c