[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	itojun_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2001/01/22 19:18:55

Modified files:
	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 to zero.

behavior checked with bsdi and freebsd.
partial solution to NetBSD PR 12027 and 10698 (need more investigation).