freebsd-skq/sys/netkey
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
..
key_debug.c just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD. 2002-04-19 04:46:24 +00:00
key_debug.h Remove __P. 2002-03-20 02:39:27 +00:00
key_var.h Newer SA is prefered for a out-bound packet than old one 2001-12-05 05:40:49 +00:00
key.c Remove __P. 2002-03-20 02:39:27 +00:00
key.h just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD. 2002-04-19 04:46:24 +00:00
keydb.c Remove __P. 2002-03-20 02:39:27 +00:00
keydb.h Remove __P. 2002-03-20 02:39:27 +00:00
keysock.c Lock down a socket, milestone 1. 2002-05-20 05:41:09 +00:00
keysock.h Remove __P. 2002-03-20 02:39:27 +00:00