From owner-freebsd-current@FreeBSD.ORG Tue Jun 19 12:01:39 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1C38F16A400 for ; Tue, 19 Jun 2007 12:01:39 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id DB4C913C457 for ; Tue, 19 Jun 2007 12:01:38 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 875E81709; Tue, 19 Jun 2007 08:01:35 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 19 Jun 2007 08:01:35 -0400 X-Sasl-enc: 5eh/UyIyhpR17+WT9+V9MnZLxCWEhrDHeBFp06z9y12M 1182254495 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id C90BC183B9; Tue, 19 Jun 2007 08:01:34 -0400 (EDT) Message-ID: <4677C595.6060007@incunabulum.net> Date: Tue, 19 Jun 2007 13:01:25 +0100 From: "Bruce M. Simpson" User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Rong-en Fan References: <34986.1181564922@critter.freebsd.dk> <6eb82e0706190453i64976929l8f45977098ef8b7e@mail.gmail.com> In-Reply-To: <6eb82e0706190453i64976929l8f45977098ef8b7e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Poul-Henning Kamp , current@freebsd.org Subject: Re: "rtfree: %p 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: Tue, 19 Jun 2007 12:01:39 -0000 Rong-en Fan wrote: > On 6/11/07, Poul-Henning Kamp wrote: >> >> With this mornings -current I see a lot of >> >> rtfree: 0xc2798d20 has 1 refs >> rtfree: 0xc2798d20 has 1 refs >> rtfree: 0xc2798d20 has 1 refs >> rtfree: 0xc2798d20 has 1 refs >> rtfree: 0xc2798d20 has 1 refs >> ... >> >> I've been playing with ipsec-tools and FAST_IPSEC >> >> No other clues right now... in RTFREE_LOCKED: if ((_rt)->rt_refcnt <= 1) \ rtfree(_rt); \ in rtfree: RT_REMREF(rt); if (rt->rt_refcnt > 0) { printf("%s: %p has %lu refs\n", __func__, rt, rt->rt_refcnt); goto done; in RT_REMREF: #define RT_REMREF(_rt) do { \ RT_LOCK_ASSERT(_rt); \ KASSERT((_rt)->rt_refcnt > 0, \ ("bogus refcnt %ld", (_rt)->rt_refcnt)); \ (_rt)->rt_refcnt--; \ Something is clearly holding a reference to an rtentry. Perhaps the printf should go under #ifdef DIAGNOSTIC. BMS } while (0) } >> > > I'm seeing this too. I also uses ipsec-tools and FAST_IPSEC. > > Regards, > Rong-En Fan > >> >> -- >> Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 >> phk@FreeBSD.ORG | TCP/IP since RFC 956 >> FreeBSD committer | BSD since 4.3-tahoe >> Never attribute to malice what can adequately be explained by >> incompetence. >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to >> "freebsd-current-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org"