diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-12-18 22:28:12 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-12-18 22:28:12 +0100 |
commit | b891e4a05ef6beac85465295a032431577c66b16 (patch) | |
tree | 832ee6823036cdcfc7a2b52d7960faebbaa035cc /net/x25 | |
parent | SUNRPC: Fix up an error return value in gss_import_sec_context_kerberos() (diff) | |
download | linux-b891e4a05ef6beac85465295a032431577c66b16.tar.xz linux-b891e4a05ef6beac85465295a032431577c66b16.zip |
SUNRPC: Fix the return value in gss_import_sec_context()
If the context allocation fails, it will return GSS_S_FAILURE, which is
neither a valid error code, nor is it even negative.
Return ENOMEM instead...
Reported-by: Jeff Layton <jlayton@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/x25')
0 files changed, 0 insertions, 0 deletions