Record number of valid ifaddr containers in ifaddr, so we could use
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 11 Nov 2008 13:48:01 +0000 (13:48 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 11 Nov 2008 13:48:01 +0000 (13:48 +0000)
commitd5a2b87c13f17caf63b0a7138870d031fd8cc9e9
treeaf57b185bab891b6cc79b2866ef887b2c69d5209
parent02f3cb7f51126b8eb2c47fd8c61ce0607a43cf97
Record number of valid ifaddr containers in ifaddr, so we could use
atomic_fetchadd_int() to avoid N->0 race instead of using thread based
serialization.  Remove the netmsg embedded in ifaddr_container; it is
no longer needed/used.
sys/net/if.c
sys/net/if_var.h