rtalloc()/rtfree() problems on CURRENT

Andre Oppermann andre at freebsd.org
Tue Feb 24 05:16:50 PST 2004


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


More information about the freebsd-net mailing list