[PATCH] knfsd: SUNRPC: Use sockaddr_storage to store address in svc_deferred_req
[powerpc.git] / include / linux / sunrpc / svc.h
index 1178689..52db9c8 100644 (file)
@@ -292,8 +292,9 @@ static inline void svc_free_res_pages(struct svc_rqst *rqstp)
 
 struct svc_deferred_req {
        u32                     prot;   /* protocol (UDP or TCP) */
-       struct sockaddr_in      addr;
-       struct svc_sock         *svsk;  /* where reply must go */
+       struct svc_sock         *svsk;
+       struct sockaddr_storage addr;   /* where reply must go */
+       size_t                  addrlen;
        __be32                  daddr;  /* where reply must come from */
        struct cache_deferred_req handle;
        int                     argslen;