Instead of checking for ifnet_addrs[ifp->index - 1] == NULL to detect
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Sat, 4 Jun 2005 14:41:57 +0000 (14:41 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Sat, 4 Jun 2005 14:41:57 +0000 (14:41 +0000)
commita98eb81816b2aeef3eeac3130ba8f2ef17e199b1
tree93f102aa955dd04ee750736b7e83468407e942a5
parent1a5f156ca463439b59135896d94ca9dc4ca0784d
Instead of checking for ifnet_addrs[ifp->index - 1] == NULL to detect
running from if_detach, introduce in_ifdetach and call that after the
address list has been processed. This reduces the differences between
IPv4 and IPv6 stack.
sys/net/if.c
sys/netinet/in.c
sys/netinet/in_var.h