NetLabel: fixup the handling of CIPSOv4 tags to allow for multiple tag types
authorPaul Moore <paul.moore@hp.com>
Fri, 17 Nov 2006 22:38:49 +0000 (17:38 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:24:10 +0000 (21:24 -0800)
commit91b1ed0afdbffbda88c472ef72af37e19b7876fb
tree29a1b289edec3e83408d021c2e26836727bef93e
parent6ce61a7c2678800cfe59a5f4a41ce8f785b9d355
NetLabel: fixup the handling of CIPSOv4 tags to allow for multiple tag types

While the original CIPSOv4 code had provisions for multiple tag types the
implementation was not as great as it could be, pushing a lot of non-tag
specific processing into the tag specific code blocks.  This patch fixes that
issue making it easier to support multiple tag types in the future.

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