From: Paul Moore Date: Fri, 15 Dec 2006 21:49:27 +0000 (-0500) Subject: NetLabel: perform input validation earlier on CIPSOv4 DOI add ops X-Git-Tag: v2.6.20-rc2~8^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fd2a25b77bb6755d38aca50b826ff8dca81d762;p=pandora-kernel.git NetLabel: perform input validation earlier on CIPSOv4 DOI add ops There are a couple of cases where the user input for a CIPSOv4 DOI add operation was not being done soon enough; the result was unexpected behavior which was resulting in oops/panics/lockups on some platforms. This patch moves the existing input validation code earlier in the code path to protect against bogus user input. Signed-off-by: Paul Moore Signed-off-by: James Morris --- Reading git-diff-tree failed