CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2022/12/11 14:19:08
Modified files: sys/kern : sys_socket.c uipc_socket.c uipc_socket2.c uipc_usrreq.c sys/miscfs/fifofs: fifo_vnops.c sys/netinet : tcp_usrreq.c sys/sys : socketvar.h Log message: This time, socket's buffer lock requires solock() to be held. As a part of socket buffers standalone locking work, move socket state bits which represent its buffers state to per buffer state. Introduce `sb_state' and turn SS_CANTSENDMORE to SBS_CANTSENDMORE. This bit will be processed on `so_snd' buffer only. Move SS_CANTRCVMORE and SS_RCVATMARK bits with separate diff to make review easier and exclude possible so_rcv/so_snd mistypes. Also, don't adjust the remaining SS_* bits right now. ok millert@