Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 01/22/2001 20:14:12
Module Name: syssrc
Committed By: itojun
Date: Mon Jan 22 18:14:12 UTC 2001
Modified Files:
syssrc/sys/kern: uipc_socket.c
Log Message:
when the peer is disconnected before accept(2) is issued,
do not return junk data in mbuf (= sockaddr on accept(2)'s 2nd arg).
set the length zero.
behavior checked with bsdi and freebsd.
partial solution to PR 12027 and 10698 (need more investigation).
To generate a diff of this commit:
cvs rdiff -r1.51 -r1.52 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.