From owner-freebsd-net@FreeBSD.ORG Tue Feb 24 05:04:12 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 6C5D816A4CE; Tue, 24 Feb 2004 05:04:12 -0800 (PST) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9273943D1D; Tue, 24 Feb 2004 05:04:11 -0800 (PST) (envelope-from glebius@cell.sick.ru) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.9/8.12.8) with ESMTP id i1OD49QE078682 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 24 Feb 2004 16:04:09 +0300 (MSK) (envelope-from glebius@cell.sick.ru) Received: (from glebius@localhost) by cell.sick.ru (8.12.9/8.12.6/Submit) id i1OD48hP078681; Tue, 24 Feb 2004 16:04:08 +0300 (MSK) Date: Tue, 24 Feb 2004 16:04:08 +0300 From: Gleb Smirnoff To: Andre Oppermann Message-ID: <20040224130408.GA78658@cell.sick.ru> Mail-Followup-To: Gleb Smirnoff , Andre Oppermann , freebsd-net@freebsd.org References: <20040224080353.GA76272@cell.sick.ru> <403B2423.DABF2E48@freebsd.org> <20040224102113.GB77406@cell.sick.ru> <403B4182.F6BD7101@freebsd.org> <20040224123427.GA78495@cell.sick.ru> <403B47D4.6F783F4F@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <403B47D4.6F783F4F@freebsd.org> User-Agent: Mutt/1.5.6i cc: freebsd-net@freebsd.org Subject: Re: rtalloc()/rtfree() problems on CURRENT 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: Tue, 24 Feb 2004 13:04:12 -0000 On Tue, Feb 24, 2004 at 01:47:16PM +0100, Andre Oppermann wrote: A> > A> > A> Maybe you do some nasty things to rt here? A> > A> > A> > A> > Really, I don't :) Exact code is given at end of the mail. A> > A> A> > A> You indeed do some nasty things. A> > A> > Please point me at 'em. I'm only reading some values from parent structure. A> A> Ah, sorry, forgot that in my last email. The only thing is to use RTFREE(). A> At first I thought your reassigning of rt is a problem, but you free the A> correct ro.ro_rt later. Thank you! I'll try everything you suggested today night. I have one more question if you don't mind: This code is running on 5.1 and STABLE as well. Is it safe to move to RTFREE() everywhere? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE