mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +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 |
||
---|---|---|
.. | ||
kernel_interface.c | ||
kernel_interface.h | ||
kernel_lkm.c | ||
kernel_log.c | ||
kernel_log.h | ||
kernel_mediate.c | ||
kernel_mediate.h | ||
kernel_mmap.c | ||
kernel_monitor.c | ||
kernel_monitor.h | ||
kernel_pipe.c | ||
kernel_pipe.h | ||
kernel_plm.c | ||
kernel_plm.h | ||
kernel_socket.c | ||
kernel_socket.h | ||
kernel_util.c | ||
kernel_util.h | ||
lomac.h | ||
lomacfs_subr.c | ||
lomacfs_vfsops.c | ||
lomacfs_vnops.c | ||
lomacfs.h | ||
lomacio.h | ||
policy_plm.h | ||
syscall_gate.c | ||
syscall_gate.h |