On 03/12/2018 14:34, Andriy Gapon wrote:
> My idea is that there should be something like 'if_freed' or 'if_destroyed'
> method that could be used by drivers for their cleaning up.  That method would
> be called from if_destroy() when we really know that the interface has no
> references and, thus, no threads are accessing it.  Then it must really be 
> safe
> to destroy the softc as well.
> How does this sound?

This is what I meant, in C: https://reviews.freebsd.org/D18420

-- 
Andriy Gapon
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to