rwatson 2008-10-07 20:57:55 UTC
FreeBSD src repository
Modified files:
sys/kern uipc_socket.c
Log:
SVN rev 183675 on 2008-10-07 20:57:55Z by rwatson
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
Revision Changes Path
1.319 +2 -1 src/sys/kern/uipc_socket.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"