diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2008-10-07 20:57:55 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2008-10-07 20:57:55 +0000 |
commit | ff601c3645e4b2381e58afee84b169658887ecaa (patch) | |
tree | ff3ca00df4fd48ea962386d74b9cad5600bc509e /tools/regression/netinet/udpzerobyte | |
parent | 77a62bf55d9fa10d6376ee53c1ddd9790dd41d36 (diff) |
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
Notes
Notes:
svn path=/head/; revision=183675
Diffstat (limited to 'tools/regression/netinet/udpzerobyte')
0 files changed, 0 insertions, 0 deletions