HomeFreeBSD

In soreceive_dgram, when a 0-length buffer is passed into recv(2) and
rS183675Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

In soreceive_dgram, when a 0-length buffer is passed into recv(2) and
no data is ready, return 0 rather than blocking or returning EAGAIN.
This is consistent with the behavior of soreceive_generic (soreceive)
in earlier versions of FreeBSD, and restores this behavior for UDP.

Discussed with: jhb, sam
MFC after: 3 days

Details

Provenance
rwatsonAuthored on
Parents
rS183674: the 3945 firmware license does not require acknowledging the EULA,
Branches
Unknown
Tags
Unknown

Event Timeline