Subject: CVS commit: syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Matt Thomas <matt@netbsd.org>
List: source-changes
Date: 06/11/2002 03:21:34
Module Name:	syssrc
Committed By:	matt
Date:		Tue Jun 11 00:21:34 UTC 2002

Modified Files:
	syssrc/sys/kern: uipc_socket.c

Log Message:
Fix 2 bugs with MSG_WAITALL.  The first is to not block forever if one is
trying to MSG_PEEK for more than the socket can hold.  The second is that
before sleeping waiting for more data, upcall the protocol telling it you
have just received data so it can kick itself to re-fill the just drained
socket buffer.


To generate a diff of this commit:
cvs rdiff -r1.67 -r1.68 syssrc/sys/kern/uipc_socket.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.