On Wed, Aug 11, 2010 at 8:34 AM, Pawel Jakub Dawidek <p...@freebsd.org> wrote:
> Wouldn't it be better to allow unload only if there are no carp(4)
> interfaces? I'd be glad to destroy my carp interfaces before unloading
> the module, but recompiling the kernel to unload it? Not so much.

Well, in theory, if_clone_detach() is supposed to do that, and it's
called during the unload process prior to NULLing the fp's.  But I've
been unable to verify whether that is enough to prevent races.

--Will.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to