Document 'socket' and 'sockbuf' structures locking.
authormvs <mvs@openbsd.org>
Mon, 9 Sep 2024 07:38:45 +0000 (07:38 +0000)
committermvs <mvs@openbsd.org>
Mon, 9 Sep 2024 07:38:45 +0000 (07:38 +0000)
commite3b7649a98a8a22b29f48fa64aa33ebed55c3116
tree5b4e707fcb1ec31434efeba50863bbda01dc7b55
parentefb6c398e3b486ca435786077d7480e836780ede
Document 'socket' and 'sockbuf' structures locking.

`so_oobmark' marked as [mr]. It is accessed in reception path and
corresponding SS_RCVATMARK flag belongs `so_rcv' buffer. However, it is
still protected by exclusive solock()/netlock.

No functional changes.

ok bluhm
sys/sys/socketvar.h