]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitca18a397c69eb87b04057125d7998733f56de5ec
tree29a1b289edec3e83408d021c2e26836727bef93e
parent5bc1053d5800d26661b2f95dca0e102d72ff0022
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