CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2024/11/10 06:03:22

Modified files:
        sys/kern       : sys_socket.c 

Log message:
Lock send socket buffer for fstat syscall.

In soo_stat() lock send socket buffer mutex around access to sb_state.
Althoug not strictly necessary as this is only a single read access,
make clear where parallel variable access happens.  As this is not
performance critical, use mutex instead of read once wrapper.  This
is also consistent to the receive socket buffer a few lines above.

OK mvs@

Reply via email to