More cleanup that needs to be done when an interface is removed

Ted Lemon Ted.Lemon at nominum.com
Tue Feb 15 20:42:32 UTC 2000


> omapi_io_destroy () don't do nothing useful.  :-)  Is it supposed to?  I
> would think at a minimum the io object needs to be removed from the
> omapi_io_states list, however I am sure there is more to it than that,
> like cleaning up the inner and outer references and freeing up it's
> storage if it's reference count goes to zero.  Or am I right in reading
> that the dereferencing functions do that for you?

I noticed that you added some code in the patch you sent - does that
mean you answered this question for yourself?   I don't know off the
top of my head - haven't looked at that code in two months.

			       _MelloN_



More information about the dhcp-hackers mailing list