On Tue, Mar 09, 2004 at 01:11:57AM +1100, Darren Reed wrote:
> > 1. in ip_pool_destroy, you need to add 
> >     ipoolstat.ipls_pools--;
> 
> Or rather, ip_pool_free()
> 
> > 2. In the same function, before freeing the pool, you need to walk all
> > its nodes and free those seperately (and decrease ipls_nodes for each node
> > freed).
> 
> This should happen in ip_pool_free() ?

I don;t really care, as long as the following happens:
kldload ipf.ko
ippool -s                       <---- everything is zero
ippool -f test/regress/ip1
ippool -F
ippool -s                       <---- everything should be zero again

-Guido

Reply via email to