commit | 14ace024b1e16d2bb9445c8387494fbbd820a738 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Dec 18 16:28:05 2009 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Dec 18 16:28:05 2009 -0500 |
tree | aff02ba8b2f86894cea54ab308c28e9cc04fe979 | |
parent | 55639353a0035052d9ea6cfe4dde0ac7fcbb2c9f [diff] |
SUNRPC: Fix up an error return value in gss_import_sec_context_kerberos() If the context allocation fails, the function currently returns a random error code, since the variable 'p' still points to a valid memory location. Ensure that it returns ENOMEM... Cc: stable@kernel.org Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>