From owner-freebsd-hackers Mon Mar 12 14:33:38 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.biographix.com (mail.biographix.com [207.236.111.133]) by hub.freebsd.org (Postfix) with ESMTP id 5A82737B72D; Mon, 12 Mar 2001 14:33:29 -0800 (PST) (envelope-from eperrin@bigorbit.com) Received: from bottleneck2000 ([192.168.1.12]) by mail.biographix.com (8.11.1/8.11.1) with SMTP id f2CMXn323050; Mon, 12 Mar 2001 17:33:49 -0500 (EST) Message-ID: <034201c0ab45$92d04630$0c01a8c0@bottleneck2000> From: "Elliott Perrin" To: , Subject: RE: Kernel Compile Problems -- fixed Date: Mon, 12 Mar 2001 17:41:26 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Okay I solved my kernel compile problem. In /usr/src/sys/netinet/tcp_usrreq.c I commented out lines 420 to 423 and lines 438 to 441 I noticed this was a change from a FreeBSD 4.2-STABLE machine that i looked at a couple minutes ago. Here are lines 412 to 446 of the above mentioned file with the commented out lines. static int tcp_usr_accept(struct socket *so, struct sockaddr **nam) { int s = splnet(); int error = 0; struct inpcb *inp = sotoinpcb(so); struct tcpcb *tp; /* if (so->so_state & SS_ISDISCONNECTED) { error = ECONNABORTED; goto out; } */ COMMON_START(); in_setpeeraddr(so, nam); COMMON_END(PRU_ACCEPT); } #ifdef INET6 static int tcp6_usr_accept(struct socket *so, struct sockaddr **nam) { int s = splnet(); int error = 0; struct inpcb *inp = sotoinpcb(so); struct tcpcb *tp; /* if (so->so_state & SS_ISDISCONNECTED) { error = ECONNABORTED; goto out; } */ COMMON_START(); in6_mapped_peeraddr(so, nam); COMMON_END(PRU_ACCEPT); } #endif /* INET6 */ ________________________________________ Elliott Perrin Systems Administrator Big Orbit - Specializing in new media for youth web: http://www.bigorbit.com email: eperrin@bigorbit.com [t] 416.516.0705 ext 25 [f] 416.516.9256 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message