Message ID | CAN-5tyFDssw65H4r6bzOiny-4W_s1etk=t7iRgbyQFeJZyE9yA@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/net/sunrpc/auth_gss/svcauth_gss.c b/net/sunrpc/auth_gss/svcauth_gss.c index 886e9d38..7faffd8 100644 --- a/net/sunrpc/auth_gss/svcauth_gss.c +++ b/net/sunrpc/auth_gss/svcauth_gss.c @@ -1187,9 +1187,9 @@ static int gss_proxy_save_rsc(struct cache_detail *cd, status = -EOPNOTSUPP; /* get mech handle from OID */ gm = gss_mech_get_by_OID(&ud->mech_oid); + rsci.cred.cr_gss_mech = gm; if (!gm) goto out; - rsci.cred.cr_gss_mech = gm;