From owner-freebsd-current Sun Dec 21 13:25:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA28411 for current-outgoing; Sun, 21 Dec 1997 13:25:25 -0800 (PST) (envelope-from owner-freebsd-current) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA28390 for ; Sun, 21 Dec 1997 13:25:19 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.8.8/8.8.5) id QAA05766; Sun, 21 Dec 1997 16:25:15 -0500 (EST) Date: Sun, 21 Dec 1997 16:25:15 -0500 (EST) From: Garrett Wollman Message-Id: <199712212125.QAA05766@khavrinen.lcs.mit.edu> To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: freebsd-current@FreeBSD.ORG Subject: Re: panics when stopping pppd In-Reply-To: <199712211016.LAA00416@uriah.heep.sax.de> References: <19971215020638.WG24374@@> <199712151524.KAA08128@khavrinen.lcs.mit.edu> <199712211016.LAA00416@uriah.heep.sax.de> Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk < Any news on this front? I'm also suffering from that problem, the > kernel always panics at the very same (totally invalid) %eip address. I forgot where we were going with this.... In in_ifadownkill(), where it says: if (rt->rt_ifa == ap->ifa && !(rt->rt_flags & RTF_STATIC)) { err = rtrequest(RTM_DELETE, (struct sockaddr *)rt_key(rt), rt->rt_gateway, rt_mask(rt), rt->rt_flags, 0); if (err) { log(LOG_WARNING, "in_ifadownkill: error %d\n", err); } } You might try adding the following before the call to rtrequest(): /* * We need to disable the automatic prune that happens * in this case in rtrequest() because it will blow * away the pointers that rn_walktree() needs in order * continue our descent. We will end up deleting all * the routes that rtrequest() would have in any case, * so that behavior is not needed there. */ rt->rt_flags &= ~RTF_PRCLONING; All this RTF_PRCLONING stuff really sucks, and is due for a complete rewrite from the top. Maybe if I can take some time off this holiday break... -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick