NetBSD/sys/nfs
bouyer 615c2e4e8d PR kern/41154: possible races in NFS server code
Fix some of the races (but probably not all of them) in the NFS server code.
nfssvc_nfsd(): change a splsoftclock()/spx() to mutex_enter/exit(&nfsd_lock)
 (I guess it was forgotten when the nfsd code was made SMP safe)
m_freem(nd_nam) in nfsrv_slpderef() instead of nfsrv_zapsock() to
 avoid possible use after free in nfssvc_nfsd()
Fix nfsrv_slpderef() to not release  nfsd_lock before testing SLP_VALID
 and reaquiring it just after. This could cause a use after free
 of the slp if one thread is in nfsrv_slpderef() and the other one grabs
 slp from nfssvc_sockpending and zap it.
2009-04-10 19:04:14 +00:00
..
files.nfs
krpc_subr.c ansify function definitions 2009-03-15 17:14:40 +00:00
krpc.h
Makefile
nfs_bio.c
nfs_boot.c
nfs_bootdhcp.c
nfs_bootparam.c
nfs_bootstatic.c
nfs_export.c
nfs_iod.c ANSIfy another 1261 function definitions. 2009-03-14 21:04:01 +00:00
nfs_kq.c
nfs_node.c ansify function definitions 2009-03-15 17:14:40 +00:00
nfs_serv.c PR kern/41158: nfs_rename() locking against myself 2009-04-10 18:58:50 +00:00
nfs_socket.c ANSIfy another 1261 function definitions. 2009-03-14 21:04:01 +00:00
nfs_srvcache.c ansify function definitions 2009-03-15 17:14:40 +00:00
nfs_srvsocket.c
nfs_srvsubs.c ANSIfy another 1261 function definitions. 2009-03-14 21:04:01 +00:00
nfs_subs.c ansify function definitions 2009-03-15 17:14:40 +00:00
nfs_syscalls.c PR kern/41154: possible races in NFS server code 2009-04-10 19:04:14 +00:00
nfs_var.h
nfs_vfsops.c ansify function definitions 2009-03-15 17:14:40 +00:00
nfs_vnops.c ANSIfy another 1261 function definitions. 2009-03-14 21:04:01 +00:00
nfs.h
nfsdiskless.h
nfsm_subs.h PR kern/41158: nfs_rename() locking against myself 2009-04-10 18:58:50 +00:00
nfsmount.h
nfsnode.h
nfsproto.h
nfsrtt.h
nfsrvcache.h
rpcv2.h
xdr_subs.h