From owner-freebsd-current Fri Apr 30 3:27: 7 1999 Delivered-To: freebsd-current@freebsd.org Received: from enst.enst.fr (enst.enst.fr [137.194.2.16]) by hub.freebsd.org (Postfix) with ESMTP id A56381552F; Fri, 30 Apr 1999 03:27:03 -0700 (PDT) (envelope-from beyssac@enst.fr) Received: from bofh.enst.fr ([137.194.24.253]) by enst.enst.fr (8.9.1a/8.9.1) with ESMTP id MAA26380; Fri, 30 Apr 1999 12:26:54 +0200 (MET DST) Received: by bofh.enst.fr (Postfix, from userid 12426) id 88815D21B; Fri, 30 Apr 1999 12:26:51 +0200 (CEST) Message-ID: <19990430122651.A11742@enst.fr> Date: Fri, 30 Apr 1999 12:26:51 +0200 From: Pierre Beyssac To: adrian@FreeBSD.ORG, John Polstra Cc: freebsd-current@FreeBSD.ORG, mike@sentex.net, andrewb@demon.net Subject: Re: Any action on PR 10570 ? getting closer to 65K :-( References: <199904300555.WAA14843@vashon.polstra.com> <19990430082856.14594.qmail@ewok.creative.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19990430082856.14594.qmail@ewok.creative.net.au>; from adrian@FreeBSD.ORG on Fri, Apr 30, 1999 at 04:28:55PM +0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Apr 30, 1999 at 04:28:55PM +0800, adrian@FreeBSD.ORG wrote: > I'll submit a followup to the pr, and a patch after I've verified it > doesn't panic the system, but that will be sometime early next week > (I can't setup a BGP connection to flood routes in and out before then..) Uh, from reading the PR it looks like it can be triggered by creating a little more than 2^16 routes to the same destination, and then deleting some of them to fall back under 2^16. I'm going to give it a try now and I'll send you the script if that works. I'm also making a world with "short" changed to "int" to see if it works. Wouldn't it be sensible to issue a warning (or panic) when increasing the reference count reaches 0, rather than causing a later kernel segfault? It would involve some overhead though, and I'm not sure having 2^32 routes is currently realistic since most machines don't even have that many bytes of RAM, but it might be true one day... -- Pierre Beyssac pb@enst.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message