freebsd-dev/sys/nfsserver
Robert Watson 3a54d6a8a8 Change M_WAITOK argument to sodupsockaddr() to M_NOWAIT. When the call
to dup_sockaddr() was renamed to sodupsockaddr(), the argument was
changed from '1' to 'M_WAITOK', which changed the semantics.  This
resulted in a WITNESS warning about a potential sleep while holding the
NFS server mutex.  Now this will no longer happen, restoring a possible
bug present in the original code (setting RC_NAM even though the malloc
to copy the addres may fail).  bde observes that the flag names here
should probably not be the same as the malloc flags for name space
reasons.

Bumped into by:	kuriyama
2004-07-03 19:17:06 +00:00
..
nfs_serv.c Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
nfs_srvcache.c Change M_WAITOK argument to sodupsockaddr() to M_NOWAIT. When the call 2004-07-03 19:17:06 +00:00
nfs_srvsock.c The socket code upcalls into the NFS server using the so_upcall 2004-05-24 04:06:14 +00:00
nfs_srvsubs.c Giant wasn't dropped here if we have to return EBUSY. This is bad. 2004-05-31 20:21:06 +00:00
nfs_syscalls.c Merge additional socket buffer locking from rwatson_netperf: 2004-06-17 22:48:11 +00:00
nfs.h The socket code upcalls into the NFS server using the so_upcall 2004-05-24 04:06:14 +00:00
nfsm_subs.h The socket code upcalls into the NFS server using the so_upcall 2004-05-24 04:06:14 +00:00
nfsrvcache.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
nfsrvstats.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00