cvs commit: src/sys/kern vfs_init.c src/sys/net80211
ieee80211_freebsd.c src/sys/netgraph ng_socket.c
John Baldwin
jhb at FreeBSD.org
Tue Jun 13 21:38:44 UTC 2006
jhb 2006-06-13 21:36:23 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_init.c
sys/net80211 ieee80211_freebsd.c
sys/netgraph ng_socket.c
Log:
Use kern_kldload() and kern_kldunload() to load and unload modules when
we intend for the user to be able to unload them later via kldunload(2)
instead of calling linker_load_module() and then directly adjusting the
ref count on the linker file structure. This makes the resulting
consumer code simpler and cleaner and better hides the linker internals
making it possible to sanely lock the linker.
Revision Changes Path
1.82 +5 -7 src/sys/kern/vfs_init.c
1.11 +2 -7 src/sys/net80211/ieee80211_freebsd.c
1.76 +5 -6 src/sys/netgraph/ng_socket.c
More information about the cvs-src
mailing list