]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit01eb4be32c59abb80cd8961f386d4a9ff285b9d8
treecbff31b7189e179429b5d0ef7c51e9e4d9e59930
parent6124240ad393765ee8970ef9b7a72f571bf3fe15
NetLabel: correctly fill in unused CIPSOv4 level and category mappings

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>
net/netlabel/netlabel_cipso_v4.c