svn commit: r259865 - head/sys/netinet/libalias
Gleb Smirnoff
glebius at FreeBSD.org
Wed Dec 25 09:43:52 UTC 2013
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);
More information about the svn-src-head
mailing list