Date: Tue, 24 Feb 2004 14:16:42 +0100 From: Andre Oppermann <andre@freebsd.org> To: Gleb Smirnoff <glebius@cell.sick.ru> Cc: freebsd-net@freebsd.org Subject: Re: rtalloc()/rtfree() problems on CURRENT Message-ID: <403B4EBA.C8168542@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> <20040224130408.GA78658@cell.sick.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Gleb Smirnoff wrote: > > 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? Yes, I think so. Be aware that 5.1 is only a technology preview release and it is lacking in many areas compared to 5.2.1. -- Andre
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?403B4EBA.C8168542>