CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2024/03/27 16:47:53
Modified files: sys/kern : uipc_socket.c uipc_socket2.c sys/sys : socketvar.h Log message: Introduce SB_OWNLOCK to mark sockets which `so_rcv' buffer modified outside socket lock. `sb_mtx' mutex(9) used for this case and it should not be released between `so_rcv' usage check and corresponding sbwait() sleep. Otherwise wakeup() could be lost sometimes. ok bluhm