freebsd-skq/sys/netsmb
tanimura 92d8381dd5 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
..
netbios.h Add more NetBIOS name types. 2002-04-17 03:12:24 +00:00
smb_conn.c Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
smb_conn.h Add unicode related definition for future use. Descibe Samba bug. 2002-02-21 16:13:19 +00:00
smb_crypt.c Fix an old off-by-one error causing well known 'wrong bucket' panic. 2001-08-21 08:07:18 +00:00
smb_dev.c Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
smb_dev.h
smb_iod.c Move the new byte order function prototypes from <sys/param.h> to 2002-04-26 22:48:23 +00:00
smb_rq.c Move the new byte order function prototypes from <sys/param.h> to 2002-04-26 22:48:23 +00:00
smb_rq.h Spelling fixes. 2001-12-31 19:29:43 +00:00
smb_smb.c Remove redundant checks for iovcnt > 1. This should be handled properly 2002-02-21 16:18:39 +00:00
smb_subr.c Move the new byte order function prototypes from <sys/param.h> to 2002-04-26 22:48:23 +00:00
smb_subr.h Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
smb_tran.h Pull netsmb requester from the pre-KSE world. This update mostly based 2001-12-02 08:47:29 +00:00
smb_trantcp.c Lock down a socket, milestone 1. 2002-05-20 05:41:09 +00:00
smb_trantcp.h Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
smb_usr.c
smb.h Recongnize more error codes returned by W2K servers. 2002-04-17 03:14:28 +00:00