From owner-freebsd-questions Tue Mar 21 15:33:58 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA10409 for questions-outgoing; Tue, 21 Mar 1995 15:33:58 -0800 Received: from irbs.com ([199.182.75.129]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id PAA10403 for ; Tue, 21 Mar 1995 15:33:50 -0800 Received: (from jc@localhost) by irbs.com (8.6.10/8.6.6) id SAA12674 for freebsd-questions@freebsd.org; Tue, 21 Mar 1995 18:33:42 -0500 From: John Capo Message-Id: <199503212333.SAA12674@irbs.com> Subject: Re: Gated is crashing my system! To: freebsd-questions@FreeBSD.org Date: Tue, 21 Mar 1995 18:33:42 -0500 (EST) In-Reply-To: <9503211938.AA04017@NetEdge.COM> from "Thomas Pusateri" at Mar 21, 95 02:38:14 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 990 Sender: questions-owner@FreeBSD.org Precedence: bulk Diabsle route cloning and gated will work just fine. I comment out the if statement in in_rmx.c:in_addroute(). Setting net.inet.ip.rtexpire to 0 crashed a kernel of a week ago as soon as a PPP interface came up. I believe this was supposed to be a partial fix for the problem. /* * Do what we need to do when inserting a route. */ static struct radix_node * in_addroute(void *v_arg, void *n_arg, struct radix_node_head *head, struct radix_node *treenodes) { struct rtentry *rt = (struct rtentry *)treenodes; /* * For IP, all unicast non-host routes are automatically cloning. if(!(rt->rt_flags & (RTF_HOST | RTF_CLONING))) { struct sockaddr_in *sin = (struct sockaddr_in *)rt_key(rt); if(!IN_MULTICAST(ntohl(sin->sin_addr.s_addr))) { rt->rt_flags |= RTF_PRCLONING; } } */ return rn_addroute(v_arg, n_arg, head, treenodes); } -- John Capo