X-Git-Url: https://git.stricted.de/?a=blobdiff_plain;f=fs%2Fnfsd%2Fnfscache.c;h=578f2c9d56bec09899d4dc1c0ca135320e7c6bf9;hb=14f7d720bb6cc60be8931ea1a0f547dc1e475b88;hp=f90d70475854f5b85f2f20a5bc61a1821a6cae37;hpb=88032b322a38b37335c8cb2e3473a45c81d280eb;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git diff --git a/fs/nfsd/nfscache.c b/fs/nfsd/nfscache.c index f90d70475854..578f2c9d56be 100644 --- a/fs/nfsd/nfscache.c +++ b/fs/nfsd/nfscache.c @@ -185,7 +185,7 @@ nfsd_cache_lookup(struct svc_rqst *rqstp, int type) rp->c_state = RC_INPROG; rp->c_xid = xid; rp->c_proc = proc; - rp->c_addr = rqstp->rq_addr; + memcpy(&rp->c_addr, svc_addr_in(rqstp), sizeof(rp->c_addr)); rp->c_prot = proto; rp->c_vers = vers; rp->c_timestamp = jiffies;