freebsd-nq/sys/fs
Seigo Tanimura 243917fe3b Lock down a socket, milestone 1.
o Add a mutex (sb_mtx) to struct sockbuf. This protects the data in a
  socket buffer. The mutex in the receive buffer also protects the data
  in struct socket.

o Determine the lock strategy for each members in struct socket.

o Lock down the following members:

  - so_count
  - so_options
  - so_linger
  - so_state

o Remove *_locked() socket APIs.  Make the following socket APIs
  touching the members above now require a locked socket:

 - sodisconnect()
 - soisconnected()
 - soisconnecting()
 - soisdisconnected()
 - soisdisconnecting()
 - sofree()
 - soref()
 - sorele()
 - sorwakeup()
 - sotryfree()
 - sowakeup()
 - sowwakeup()

Reviewed by:	alfred
2002-05-20 05:41:09 +00:00
..
cd9660 More s/file system/filesystem/g 2002-05-16 21:28:32 +00:00
coda More s/file system/filesystem/g 2002-05-16 21:28:32 +00:00
deadfs Use vop_panic() instead of rolling our own. 2002-05-02 19:13:44 +00:00
devfs Fix several bugs in devfs_lookupx(). When we check the nameiop to 2002-05-10 15:41:14 +00:00
fdescfs Convert fdescfs to nmount. 2002-05-02 20:24:50 +00:00
fifofs Lock down a socket, milestone 1. 2002-05-20 05:41:09 +00:00
hpfs More s/file system/filesystem/g 2002-05-16 21:28:32 +00:00
msdosfs More s/file system/filesystem/g 2002-05-16 21:28:32 +00:00
ntfs More s/file system/filesystem/g 2002-05-16 21:28:32 +00:00
nullfs More s/file system/filesystem/g 2002-05-16 21:28:32 +00:00
nwfs More s/file system/filesystem/g 2002-05-16 21:28:32 +00:00
portalfs Lock down a socket, milestone 1. 2002-05-20 05:41:09 +00:00
procfs Change p_can{debug,see,sched,signal}()'s first argument to be a thread 2002-05-19 00:14:50 +00:00
pseudofs Change p_can{debug,see,sched,signal}()'s first argument to be a thread 2002-05-19 00:14:50 +00:00
smbfs More s/file system/filesystem/g 2002-05-16 21:28:32 +00:00
specfs Remove a check of blocknumbers/offsets which will be pointless with 2002-05-18 09:32:56 +00:00
udf In VOP_LOOKUP, don't assume that the final pathname component 2002-05-16 19:22:39 +00:00
umapfs
unionfs