NetLabel: correctly fill in unused CIPSOv4 level and category mappings
authorPaul Moore <paul.moore@hp.com>
Fri, 15 Dec 2006 21:49:28 +0000 (16:49 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Dec 2006 19:11:58 +0000 (11:11 -0800)
Back when the original NetLabel patches were being changed to use Netlink
attributes correctly some code was accidentially dropped which set all of the
undefined CIPSOv4 level and category mappings to a sentinel value.  The result
is the mappings data in the kernel contains bogus mappings which always map to
zero.  This patch restores the old/correct behavior by initializing the mapping
data to the correct sentinel value.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found