Re: sleep in interface detach until all refs are released

2015-09-28 Thread Martin Pieuchot
On 27/09/15(Sun) 15:51, David Gwynne wrote: > this uses the refcnt api to do the heavy lifting. > > i think we have all the if_get/if_put calls we need, so this should > be safe at this point. > > if anyone wants to test, can you try detaching or destroying > interfaces and check that the ifconfi

Re: sleep in interface detach until all refs are released

2015-09-27 Thread Hrvoje Popovski
On 27.9.2015. 7:51, David Gwynne wrote: > this uses the refcnt api to do the heavy lifting. > > i think we have all the if_get/if_put calls we need, so this should > be safe at this point. > > if anyone wants to test, can you try detaching or destroying > interfaces and check that the ifconfig ca