From owner-freebsd-current@FreeBSD.ORG Sun Sep 16 13:21:54 2007 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 589E616A417 for ; Sun, 16 Sep 2007 13:21:54 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.bluestop.org (muon.bluestop.org [80.68.94.188]) by mx1.freebsd.org (Postfix) with ESMTP id F0FE313C46A for ; Sun, 16 Sep 2007 13:21:53 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.draftnet (cran1.demon.co.uk [80.177.26.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTP id 6F23830122; Sun, 16 Sep 2007 14:21:52 +0100 (BST) Message-ID: <46ED2D71.30608@cran.org.uk> Date: Sun, 16 Sep 2007 14:19:45 +0100 From: Bruce Cran User-Agent: Thunderbird 2.0.0.6 (X11/20070809) MIME-Version: 1.0 To: "Christian S.J. Peron" References: <46DA0C5E.1050506@barafranca.com> <20070903034754.GA79704@sub.vaned.net> In-Reply-To: <20070903034754.GA79704@sub.vaned.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.ORG, Hugo Subject: Re: rtfree: 0xc3e377f8 has 1 refs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2007 13:21:54 -0000 Christian S.J. Peron wrote: > Basically, this looks like a side effect of calling rtfree() on a route > when we dont hold the last reference. In reality we should be using the > RTFREE()/REFREE_LOCKED() helper macros which manage reference counts > in this case. > > I have attached a patch, please let me know if this helps. BTW, nice > hostname :) I was also seeing this message after setting up an IPv6 tunnel on a recent -CURRENT build - after applying the patch the messages have gone. -- Bruce Cran