aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r--fs/nfsd/nfs4state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index f3b9a8d064f3..07db31568ac9 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -786,6 +786,7 @@ nfsd4_setclientid(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
786 } 786 }
787 copy_verf(new, &clverifier); 787 copy_verf(new, &clverifier);
788 new->cl_addr = sin->sin_addr.s_addr; 788 new->cl_addr = sin->sin_addr.s_addr;
789 new->cl_flavor = rqstp->rq_flavor;
789 princ = svc_gss_principal(rqstp); 790 princ = svc_gss_principal(rqstp);
790 if (princ) { 791 if (princ) {
791 new->cl_principal = kstrdup(princ, GFP_KERNEL); 792 new->cl_principal = kstrdup(princ, GFP_KERNEL);