diff options
-rw-r--r-- | net/sunrpc/auth_gss/svcauth_gss.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/auth_gss/svcauth_gss.c b/net/sunrpc/auth_gss/svcauth_gss.c index fdad66dc9a9f..23632d84d8d7 100644 --- a/net/sunrpc/auth_gss/svcauth_gss.c +++ b/net/sunrpc/auth_gss/svcauth_gss.c | |||
@@ -420,7 +420,8 @@ static int rsc_parse(struct cache_detail *cd, | |||
420 | gss_mech_put(gm); | 420 | gss_mech_put(gm); |
421 | goto out; | 421 | goto out; |
422 | } | 422 | } |
423 | if (gss_import_sec_context(buf, len, gm, &rsci.mechctx)) { | 423 | status = gss_import_sec_context(buf, len, gm, &rsci.mechctx); |
424 | if (status) { | ||
424 | gss_mech_put(gm); | 425 | gss_mech_put(gm); |
425 | goto out; | 426 | goto out; |
426 | } | 427 | } |