Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/kern/uipc_socket.c,v retrieving revision 1.52 retrieving revision 1.53 diff -u -p -r1.52 -r1.53 --- src/sys/kern/uipc_socket.c 2001/01/22 18:14:11 1.52 +++ src/sys/kern/uipc_socket.c 2001/02/07 12:20:43 1.53 @@ -1,4 +1,4 @@ -/* $NetBSD: uipc_socket.c,v 1.52 2001/01/22 18:14:11 itojun Exp $ */ +/* $NetBSD: uipc_socket.c,v 1.53 2001/02/07 12:20:43 itojun Exp $ */ /* * Copyright (c) 1982, 1986, 1988, 1990, 1993 @@ -271,7 +271,7 @@ soaccept(so, nam) error = (*so->so_proto->pr_usrreq)(so, PRU_ACCEPT, (struct mbuf *)0, nam, (struct mbuf *)0, (struct proc *)0); else - nam->m_len = 0; + error = ECONNABORTED; splx(s); return (error);