From: Paul Moore Date: Wed, 11 Oct 2006 23:10:48 +0000 (-0400) Subject: NetLabel: better error handling involving mls_export_cat() X-Git-Tag: v2.6.19-rc3~206^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf0edf39296097f20c5fcc4919ed7d339194bd75;p=pandora-kernel.git 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 Signed-off-by: James Morris --- Reading git-diff-tree failed