From owner-freebsd-net@FreeBSD.ORG Thu Jan 6 14:30:13 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D985106564A for ; Thu, 6 Jan 2011 14:30:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 52A9A8FC1A for ; Thu, 6 Jan 2011 14:30:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p06EUD89020030 for ; Thu, 6 Jan 2011 14:30:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p06EUDtf020025; Thu, 6 Jan 2011 14:30:13 GMT (envelope-from gnats) Date: Thu, 6 Jan 2011 14:30:13 GMT Message-Id: <201101061430.p06EUDtf020025@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: "Bjoern A. Zeeb" Cc: Subject: Re: kern/153497: [netgraph] netgraph panic with ipv6 enabled X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Bjoern A. Zeeb" List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2011 14:30:13 -0000 The following reply was made to PR kern/153497; it has been noted by GNATS. From: "Bjoern A. Zeeb" To: Mike Tancsa Cc: bug-followup@FreeBSD.org Subject: Re: kern/153497: [netgraph] netgraph panic with ipv6 enabled Date: Thu, 6 Jan 2011 14:21:39 +0000 (UTC) On Thu, 6 Jan 2011, Mike Tancsa wrote: I would just like to add two things: a) this isn't really IPv6 related; it's just a matetr of timing and depending on options and modules used it's more or less likely. It's basically races in the netgraph code. b) the XXXBZ printfs come from where he was previously seeing a NULL pointer de-ref, which in the last case looks like random memory corruption or indeed just another race. The debugging patch was: http://people.freebsd.org/~bz/20101228-01-ng-base-race-pr153497.diff with the printf in the hook == NULL case removed again, as that happened a lot, which I think isn't right either but ... -- Bjoern A. Zeeb You have to have visions! Going to jail sucks -- All my daemons like it! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html