aboutsummaryrefslogtreecommitdiff
path: root/contrib/diff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2008-10-07 20:57:55 +0000
committerRobert Watson <rwatson@FreeBSD.org>2008-10-07 20:57:55 +0000
commitff601c3645e4b2381e58afee84b169658887ecaa (patch)
treeff3ca00df4fd48ea962386d74b9cad5600bc509e /contrib/diff
parent77a62bf55d9fa10d6376ee53c1ddd9790dd41d36 (diff)
downloadsrc-ff601c3645e4b2381e58afee84b169658887ecaa.tar.gz
src-ff601c3645e4b2381e58afee84b169658887ecaa.zip
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 'contrib/diff')
0 files changed, 0 insertions, 0 deletions