[PATCH] knfsd: SUNRPC: Cache remote peer's address in svc_sock
[linux-2.6.git] / include / linux / sunrpc / svcsock.h
index f030409d2994bb5c3e29ef2be1305dae6c3021a1..cccea0a0feb48e83923cc10df72cd1b26133f244 100644 (file)
@@ -57,6 +57,9 @@ struct svc_sock {
 
        /* cache of various info for TCP sockets */
        void                    *sk_info_authunix;
 
        /* cache of various info for TCP sockets */
        void                    *sk_info_authunix;
+
+       struct sockaddr_storage sk_remote;      /* remote peer's address */
+       int                     sk_remotelen;   /* length of address */
 };
 
 /*
 };
 
 /*