Date: Tue, 14 Oct 2008 22:48:38 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern uipc_socket.c Message-ID: <200810142248.m9EMml28002027@repoman.freebsd.org>
index | next in thread | raw e-mail
rwatson 2008-10-14 22:48:38 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/kern uipc_socket.c
Log:
SVN rev 183898 on 2008-10-14 22:48:38Z by rwatson
Merge r183675 from head to stable/7:
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
Approved by: re (kib)
Revision Changes Path
1.302.2.11 +2 -1 src/sys/kern/uipc_socket.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810142248.m9EMml28002027>
