Author: glebius
Date: Wed Dec 25 09:43:51 2013
New Revision: 259865
URL: http://svnweb.freebsd.org/changeset/base/259865

Log:
  It'll be okay to use LibAliasDetachHandlers() here, relying
  on the fact that all handlers come from modules' bss and are
  followed by NODIR handler.

Modified:
  head/sys/netinet/libalias/alias.c

Modified: head/sys/netinet/libalias/alias.c
==============================================================================
--- head/sys/netinet/libalias/alias.c   Wed Dec 25 08:34:35 2013        
(r259864)
+++ head/sys/netinet/libalias/alias.c   Wed Dec 25 09:43:51 2013        
(r259865)
@@ -1722,7 +1722,7 @@ LibAliasUnLoadAllModule(void)
 
        /* Unload all modules then reload everything. */
        while ((p = first_handler()) != NULL) { 
-               detach_handler(p);
+               LibAliasDetachHandlers(p);
        }
        while ((t = walk_dll_chain()) != NULL) {        
                dlclose(t->handle);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to