svn commit: r211157 - in head/sys: modules modules/if_carp net netinet netinet6

Will Andrews will at
Wed Aug 11 19:17:24 UTC 2010

On Wed, Aug 11, 2010 at 8:34 AM, Pawel Jakub Dawidek <pjd at> 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.


More information about the svn-src-all mailing list