Re: Netgraph is leaking node references

2001-03-10 Thread Julian Elischer
Harti Brandt wrote: > > Hi, > > it seems that netgraph is leaking references. One simple experiment to do > is to repeat 'ngctl types' several times: [fix just checked in] I won't say what it was exactlt but I must have been REALLY TIRED when I checked that bug in.. send pointy hat and C lang

Re: Netgraph is leaking node references

2001-03-09 Thread Julian Elischer
Thanks Harti. I'll look at it (again) I thought I had fixed these.. oh well maybe I broke it again.. Hooks hold a reference on the node until their own references go to 0. The node holds a reference on teh hook, but the cycle is handled in the hook removal code. Since node removal first calls

Netgraph is leaking node references

2001-03-09 Thread Harti Brandt
Hi, it seems that netgraph is leaking references. One simple experiment to do is to repeat 'ngctl types' several times: 500 [root] (beagle) netgraph_atm/tests/ccatm # ngctl types There are 5 total types: Type name Number of living nodes - --