Date: Tue, 24 Feb 2004 16:04:08 +0300 From: Gleb Smirnoff <glebius@cell.sick.ru> To: Andre Oppermann <andre@freebsd.org> Cc: freebsd-net@freebsd.org Subject: Re: rtalloc()/rtfree() problems on CURRENT Message-ID: <20040224130408.GA78658@cell.sick.ru> In-Reply-To: <403B47D4.6F783F4F@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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040224130408.GA78658>