1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sys/fs/nfsserver
Robert Watson 2684bef615 Update nfsrv_getsocksndseq() for changes in TCP internals since FreeBSD 6.x:
- so_pcb is now guaranteed to be non-NULL and valid if a valid socket
  reference is held.

- Need to check INP_TIMEWAIT and INP_DROPPED before assuming inp_ppcb is a
  tcpcb, as it might be a tcptw or NULL otherwise.

- tp can never be NULL by the end of the function, so only check
  TCPS_ESTABLISHED before extracting tcpcb fields.

The NFS server arguably incorporates too many assumptions about TCP
internals, but fixing that is left for nother day.

MFC after:		1 week
Reviewed by:		bz
Reviewed and tested by:	rmacklem
Sponsored by:		Juniper Networks
2010-03-11 11:33:04 +00:00
..
nfs_nfsdcache.c This fixes the experimental NFS server so that it won't crash in the 2010-02-13 23:56:19 +00:00
nfs_nfsdkrpc.c Add the SVC_RELEASE(xprt), as required by r194407. 2009-06-17 22:55:59 +00:00
nfs_nfsdport.c Update nfsrv_getsocksndseq() for changes in TCP internals since FreeBSD 6.x: 2010-03-11 11:33:04 +00:00
nfs_nfsdserv.c Modify the experimental server so that it uses VOP_ACCESSX(). 2009-12-25 20:44:19 +00:00
nfs_nfsdsocket.c Fix the handling of NFSv4 Illegal Operation number to conform 2009-05-26 01:16:09 +00:00
nfs_nfsdstate.c Change the default value for vfs.newnfs.enable_locallocks to 0 for 2010-02-14 00:18:32 +00:00
nfs_nfsdsubs.c Apply changes to the experimental nfs server so that it uses the security 2009-05-14 21:39:08 +00:00