mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-19 16:14:13 +08:00
[PATCH] svcrpc: gss: svc context creation error handling
Allow mechanisms to return more varied errors on the context creation downcall. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
91a4762e0a
commit
5fb8b49e29
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user