NetLabel: only deref the CIPSOv4 standard map fields when using standard mapping
authorPaul Moore <paul.moore@hp.com>
Wed, 11 Oct 2006 23:10:47 +0000 (19:10 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 16 Oct 2006 06:14:14 +0000 (23:14 -0700)
Fix several places in the CIPSO code where it was dereferencing fields which
did not have valid pointers by moving those pointer dereferences into code
blocks where the pointers are valid.

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

Simple merge