summaryrefslogtreecommitdiff
path: root/net/ipv4/cipso_ipv4.c
diff options
context:
space:
mode:
authorPaul Moore <paul.moore@hp.com>2006-10-11 23:10:48 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2006-10-16 06:14:15 (GMT)
commitbf0edf39296097f20c5fcc4919ed7d339194bd75 (patch)
tree0cde65c275cd7bab51c306cde3bf80487655f6ba /net/ipv4/cipso_ipv4.c
parent044a68ed8a692f643cf3c0a54c380a922584f34f (diff)
downloadlinux-fsl-qoriq-bf0edf39296097f20c5fcc4919ed7d339194bd75.tar.xz
NetLabel: better error handling involving mls_export_cat()
Upon inspection it looked like the error handling for mls_export_cat() was rather poor. This patch addresses this by NULL'ing out kfree()'d pointers before returning and checking the return value of the function everywhere it is called. Signed-off-by: Paul Moore <paul.moore@hp.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'net/ipv4/cipso_ipv4.c')
0 files changed, 0 insertions, 0 deletions