commit | 1fd2a25b77bb6755d38aca50b826ff8dca81d762 | [log] [tgz] |
---|---|---|
author | Paul Moore <paul.moore@hp.com> | Fri Dec 15 16:49:27 2006 -0500 |
committer | David S. Miller <davem@sunset.davemloft.net> | Fri Dec 22 11:11:56 2006 -0800 |
tree | 9f5f8bd5cb99cefa8db812f7182b22da6ecf993c | |
parent | c2fda5fed81eea077363b285b66eafce20dfd45a [diff] |
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 <paul.moore@hp.com> Signed-off-by: James Morris <jmorris@namei.org>