[PATCH] knfsd: SUNRPC: Provide room in svc_rqst for larger addresses
[linux-3.10.git] / fs / lockd / host.c
index 3d4610c..22d4032 100644 (file)
@@ -192,7 +192,7 @@ struct nlm_host *
 nlmsvc_lookup_host(struct svc_rqst *rqstp,
                        const char *hostname, int hostname_len)
 {
-       return nlm_lookup_host(1, &rqstp->rq_addr,
+       return nlm_lookup_host(1, svc_addr_in(rqstp),
                               rqstp->rq_prot, rqstp->rq_vers,
                               hostname, hostname_len);
 }