freebsd-src/sys/netatalk
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
..
aarp.c Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
aarp.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
at.h
at_control.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
at_extern.h Remove __P. 2002-03-20 02:39:27 +00:00
at_proto.c
at_rmx.c De-staticize and add prototype for main debug function. I'll turn 1999-01-12 12:09:27 +00:00
at_var.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
COPYRIGHT
ddp.h
ddp_input.c Lock down a socket, milestone 1. 2002-05-20 05:41:09 +00:00
ddp_output.c * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
ddp_pcb.c Lock down a socket, milestone 1. 2002-05-20 05:41:09 +00:00
ddp_usrreq.c Lock down a socket, milestone 1. 2002-05-20 05:41:09 +00:00
ddp_var.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
endian.h
phase2.h