aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/svc_xprt.h4
-rw-r--r--include/linux/sunrpc/svcsock.h5
2 files changed, 4 insertions, 5 deletions
diff --git a/include/linux/sunrpc/svc_xprt.h b/include/linux/sunrpc/svc_xprt.h
index 936e0dc52fcc..1b5da39bb461 100644
--- a/include/linux/sunrpc/svc_xprt.h
+++ b/include/linux/sunrpc/svc_xprt.h
@@ -50,11 +50,15 @@ struct svc_xprt {
50#define XPT_OLD 9 /* used for xprt aging mark+sweep */ 50#define XPT_OLD 9 /* used for xprt aging mark+sweep */
51#define XPT_DETACHED 10 /* detached from tempsocks list */ 51#define XPT_DETACHED 10 /* detached from tempsocks list */
52#define XPT_LISTENER 11 /* listening endpoint */ 52#define XPT_LISTENER 11 /* listening endpoint */
53#define XPT_CACHE_AUTH 12 /* cache auth info */
53 54
54 struct svc_pool *xpt_pool; /* current pool iff queued */ 55 struct svc_pool *xpt_pool; /* current pool iff queued */
55 struct svc_serv *xpt_server; /* service for transport */ 56 struct svc_serv *xpt_server; /* service for transport */
56 atomic_t xpt_reserved; /* space on outq that is rsvd */ 57 atomic_t xpt_reserved; /* space on outq that is rsvd */
57 struct mutex xpt_mutex; /* to serialize sending data */ 58 struct mutex xpt_mutex; /* to serialize sending data */
59 spinlock_t xpt_lock; /* protects sk_deferred
60 * and xpt_auth_cache */
61 void *xpt_auth_cache;/* auth cache */
58}; 62};
59 63
60int svc_reg_xprt_class(struct svc_xprt_class *); 64int svc_reg_xprt_class(struct svc_xprt_class *);
diff --git a/include/linux/sunrpc/svcsock.h b/include/linux/sunrpc/svcsock.h
index 406d0031b989..f2ed6a25a7aa 100644
--- a/include/linux/sunrpc/svcsock.h
+++ b/include/linux/sunrpc/svcsock.h
@@ -20,8 +20,6 @@ struct svc_sock {
20 struct socket * sk_sock; /* berkeley socket layer */ 20 struct socket * sk_sock; /* berkeley socket layer */
21 struct sock * sk_sk; /* INET layer */ 21 struct sock * sk_sk; /* INET layer */
22 22
23 spinlock_t sk_lock; /* protects sk_deferred and
24 * sk_info_authunix */
25 struct list_head sk_deferred; /* deferred requests that need to 23 struct list_head sk_deferred; /* deferred requests that need to
26 * be revisted */ 24 * be revisted */
27 25
@@ -34,9 +32,6 @@ struct svc_sock {
34 int sk_reclen; /* length of record */ 32 int sk_reclen; /* length of record */
35 int sk_tcplen; /* current read length */ 33 int sk_tcplen; /* current read length */
36 34
37 /* cache of various info for TCP sockets */
38 void *sk_info_authunix;
39
40 struct sockaddr_storage sk_local; /* local address */ 35 struct sockaddr_storage sk_local; /* local address */
41 struct sockaddr_storage sk_remote; /* remote peer's address */ 36 struct sockaddr_storage sk_remote; /* remote peer's address */
42 int sk_remotelen; /* length of address */ 37 int sk_remotelen; /* length of address */