Subject: CVS commit: [netbsd-1-6] syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 06/11/2002 04:59:49
Module Name:	syssrc
Committed By:	lukem
Date:		Tue Jun 11 01:59:49 UTC 2002

Modified Files:
	syssrc/sys/kern [netbsd-1-6]: uipc_socket.c

Log Message:
Pull up revision 1.67 (requested by he in ticket #238):
In soreceive(), if any part of a received record has been freed,
and an error occurs, make sure the socket doesn't retain a partial
copy by dropping the rest of the record.
This would otherwise trigger a panic("receive 1a") under DIAGNOSTIC.
Fixes PR#16990, suggested fix adapted.
Reviewed by Matt Thomas.


To generate a diff of this commit:
cvs rdiff -r1.66 -r1.66.4.1 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.