diff options
author | Doug Rabson <dfr@FreeBSD.org> | 1997-06-03 17:22:47 +0000 |
---|---|---|
committer | Doug Rabson <dfr@FreeBSD.org> | 1997-06-03 17:22:47 +0000 |
commit | 7d6b68c4de9cfca092d612c67c9918ae02e824e4 (patch) | |
tree | 33ea789763d750ccc2e57ea41d82341ff17bb9b3 /sys/nfsserver/nfsrvstats.h | |
parent | 46c1f176f11b4b53159dcb0751846578fffb6bfb (diff) | |
download | src-7d6b68c4de9cfca092d612c67c9918ae02e824e4.tar.gz src-7d6b68c4de9cfca092d612c67c9918ae02e824e4.zip |
Various fixes from NetBSD:
Use u_int for rpc procedure numbers.
Some fixes to NQNFS.
A rare NULL pointer dereference.
Ignore NFSMNT_NOCONN for TCP mounts.
Obtained from: NetBSD
Notes
Notes:
svn path=/head/; revision=26420
Diffstat (limited to 'sys/nfsserver/nfsrvstats.h')
-rw-r--r-- | sys/nfsserver/nfsrvstats.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfsserver/nfsrvstats.h b/sys/nfsserver/nfsrvstats.h index 2dc19c176136..3521dae9ac28 100644 --- a/sys/nfsserver/nfsrvstats.h +++ b/sys/nfsserver/nfsrvstats.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs.h 8.4 (Berkeley) 5/1/95 - * $Id: nfs.h,v 1.26 1997/05/13 17:25:44 dfr Exp $ + * $Id: nfs.h,v 1.27 1997/05/19 14:36:46 dfr Exp $ */ #ifndef _NFS_NFS_H_ @@ -333,7 +333,7 @@ struct nfsreq { int r_retry; /* max retransmission count */ int r_rexmit; /* current retrans count */ int r_timer; /* tick counter on reply */ - int r_procnum; /* NFS procedure number */ + u_int32_t r_procnum; /* NFS procedure number */ int r_rtt; /* RTT for rpc */ struct proc *r_procp; /* Proc that did I/O system call */ }; @@ -483,7 +483,7 @@ struct nfsrv_descript { struct mbuf *nd_nam; /* and socket addr */ struct mbuf *nd_nam2; /* return socket addr */ caddr_t nd_dpos; /* Current dissect pos */ - int nd_procnum; /* RPC # */ + u_int32_t nd_procnum; /* RPC # */ int nd_stable; /* storage type */ int nd_flag; /* nd_flag */ int nd_len; /* Length of this write */ |