NetLabel: the CIPSOv4 passthrough mapping does not pass categories correctly
commitea614d7f4fb2d436b7a5ee490d1011615f6b38d5
authorPaul Moore <paul.moore@hp.com>
Wed, 11 Oct 2006 23:10:49 +0000 (11 19:10 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 16 Oct 2006 06:14:16 +0000 (15 23:14 -0700)
tree39953be82c3a6fc98cc6257cb965cd1af159fe6f
parentbf0edf39296097f20c5fcc4919ed7d339194bd75
NetLabel: the CIPSOv4 passthrough mapping does not pass categories correctly

The CIPSO passthrough mapping had a problem when sending categories which
would cause no or incorrect categories to be sent on the wire with a packet.
This patch fixes the problem which was a simple off-by-one bug.

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