Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
		}