mirror of
https://github.com/opnsense/src.git
synced 2026-05-25 02:35:01 -04:00
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 |
||
|---|---|---|
| .. | ||
| ipatm | ||
| sigpvc | ||
| spans | ||
| uni | ||
| atm.h | ||
| atm_aal5.c | ||
| atm_cm.c | ||
| atm_cm.h | ||
| atm_device.c | ||
| atm_if.c | ||
| atm_if.h | ||
| atm_ioctl.h | ||
| atm_pcb.h | ||
| atm_proto.c | ||
| atm_sap.h | ||
| atm_sigmgr.h | ||
| atm_signal.c | ||
| atm_socket.c | ||
| atm_stack.h | ||
| atm_subr.c | ||
| atm_sys.h | ||
| atm_usrreq.c | ||
| atm_var.h | ||
| atm_vc.h | ||
| port.h | ||
| queue.h | ||