Skip to content
Snippets Groups Projects
Commit 5fb8b49e authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Linus Torvalds
Browse files

[PATCH] svcrpc: gss: svc context creation error handling


Allow mechanisms to return more varied errors on the context creation
downcall.

Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: default avatarNeil Brown <neilb@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 91a4762e
No related branches found
No related tags found
No related merge requests found
......@@ -420,7 +420,8 @@ static int rsc_parse(struct cache_detail *cd,
gss_mech_put(gm);
goto out;
}
if (gss_import_sec_context(buf, len, gm, &rsci.mechctx)) {
status = gss_import_sec_context(buf, len, gm, &rsci.mechctx);
if (status) {
gss_mech_put(gm);
goto out;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment