diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-10-07 20:57:55 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-10-07 20:57:55 +0000 |
commit | 72d39e41ec777721989c7379d5f818640e504e2f (patch) | |
tree | ff3ca00df4fd48ea962386d74b9cad5600bc509e /tools/regression | |
parent | 964dbca2f361f99f23fe73f482142c8cdc28f790 (diff) | |
download | FreeBSD-src-72d39e41ec777721989c7379d5f818640e504e2f.zip FreeBSD-src-72d39e41ec777721989c7379d5f818640e504e2f.tar.gz |
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
Diffstat (limited to 'tools/regression')
0 files changed, 0 insertions, 0 deletions