Subject: CVS commit: src/sys/kern
To: None <>
From: Sean Boudreau <>
List: source-changes
Date: 08/22/2006 13:39:48
Module Name:	src
Committed By:	seanb
Date:		Tue Aug 22 13:39:48 UTC 2006

Modified Files:
	src/sys/kern: uipc_syscalls.c

Log Message:
Don't leave a dangling socket (no associated struct file) if
user supplied a bad name or anamelen parameter to accept(2).
If bad paramaters were suplied and a copyout() failed, the
struct file was cleaned up but not the associated socket.  This
could leave sockets in CLOSE_WAIT that could never be closed.

To generate a diff of this commit:
cvs rdiff -r1.101 -r1.102 src/sys/kern/uipc_syscalls.c

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