rtalloc()/rtfree() problems on CURRENT

Gleb Smirnoff glebius at cell.sick.ru
Tue Feb 24 05:04:12 PST 2004


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


More information about the freebsd-net mailing list