git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14ace02
)
SUNRPC: Fix the return value in gss_import_sec_context()
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 18 Dec 2009 21:28:12 +0000
(16:28 -0500)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 18 Dec 2009 21:28:12 +0000
(16:28 -0500)
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>
No differences found