HomeFreeBSD

Add additional annotations to soreceive(), documenting the effects of
rS131993Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Add additional annotations to soreceive(), documenting the effects of
locking on 'nextrecord' and concerns regarding potentially inconsistent
or stale use of socket buffer or stack fields if they aren't carefully
synchronized whenever the socket buffer mutex is released. Document
that the high-level sblock() prevents races against other readers on
the socket.

Also document the 'type' logic as to how soreceive() guarantees that
it will only return one of normal data or inline out-of-band data.

Details

Provenance
rwatsonAuthored on
Parents
rS131992: MFi386: rev 1.213 -- fix DELAY while the debugger is active.
Branches
Unknown
Tags
Unknown

Event Timeline