mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
243917fe3b
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 |
||
---|---|---|
.. | ||
ncp_cfg.h | ||
ncp_conn.c | ||
ncp_conn.h | ||
ncp_crypt.c | ||
ncp_file.h | ||
ncp_lib.h | ||
ncp_login.c | ||
ncp_mod.c | ||
ncp_ncp.c | ||
ncp_ncp.h | ||
ncp_nls.c | ||
ncp_nls.h | ||
ncp_rcfile.h | ||
ncp_rq.c | ||
ncp_rq.h | ||
ncp_sock.c | ||
ncp_sock.h | ||
ncp_subr.c | ||
ncp_subr.h | ||
ncp_user.h | ||
ncp.h | ||
nwerror.h |