From owner-freebsd-net@FreeBSD.ORG Wed Oct 27 19:12:37 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 478A616A4CE; Wed, 27 Oct 2004 19:12:37 +0000 (GMT) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8927943D1F; Wed, 27 Oct 2004 19:12:36 +0000 (GMT) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.11/8.12.8) with ESMTP id i9RJCXLd045514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Oct 2004 23:12:34 +0400 (MSD) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.sick.ru (8.12.11/8.12.11/Submit) id i9RJCXcG045513; Wed, 27 Oct 2004 23:12:33 +0400 (MSD) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@freebsd.org using -f Date: Wed, 27 Oct 2004 23:12:33 +0400 From: Gleb Smirnoff To: bms@freebsd.org Message-ID: <20041027191233.GF44427@cell.sick.ru> Mail-Followup-To: Gleb Smirnoff , bms@freebsd.org, freebsd-net@FreeBSD.org References: <200410260331.i9Q3Vxbv060994@repoman.freebsd.org> <20041026034126.GI706@empiric.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20041026034126.GI706@empiric.icir.org> User-Agent: Mutt/1.5.6i cc: freebsd-net@freebsd.org Subject: Re: cvs commit: src/sys/netinet if_ether.c X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2004 19:12:37 -0000 Bruce, On Mon, Oct 25, 2004 at 08:41:26PM -0700, Bruce M Simpson wrote: B> On Tue, Oct 26, 2004 at 03:31:59AM +0000, Bruce M Simpson wrote: B> > Log: B> > Check that rt_mask(rt) is non-NULL before dereferencing it, in the B> > RTM_ADD case, thus avoiding a panic. B> B> PR: kern/42030 B> B> It isn't immediately clear to me if this is a routing socket API issue B> or a client issue. B> B> The panic, at least, is worked around, but the root problem needs to be B> fixed -- it is most likely a synchronization problem in zebra whereby it B> is attempting to add a route to the kernel FIB which references an B> interface which does not yet exist or has gone away. B> B> At least one person who has reported this was running vtund, which plumbs B> its own tun instances on demand; the other I think was running userland ppp. B> B> I haven't seen anything similar with XORP yet. If we are interested in tracking this down, we should add a printf, so that people who hit this will notce it and report. Otherwise this problem will be left forever in a workaround state. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE