clk: move the common clock's to_clk_*(_hw) macros to clk-provider.h
[cascardo/linux.git] / net / sunrpc / svcauth.c
index 79c0f34..69841db 100644 (file)
@@ -55,6 +55,7 @@ svc_authenticate(struct svc_rqst *rqstp, __be32 *authp)
        spin_unlock(&authtab_lock);
 
        rqstp->rq_auth_slack = 0;
+       init_svc_cred(&rqstp->rq_cred);
 
        rqstp->rq_authop = aops;
        return aops->accept(rqstp, authp);
@@ -63,6 +64,7 @@ EXPORT_SYMBOL_GPL(svc_authenticate);
 
 int svc_set_client(struct svc_rqst *rqstp)
 {
+       rqstp->rq_client = NULL;
        return rqstp->rq_authop->set_client(rqstp);
 }
 EXPORT_SYMBOL_GPL(svc_set_client);