Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet6/ip6_input.c
Show First 20 Lines • Show All 387 Lines • ▼ Show 20 Lines | CK_STAILQ_FOREACH(ifp, &V_ifnet, if_link) { | ||||
/* IF_ADDR_UNLOCK(ifp); */ | /* IF_ADDR_UNLOCK(ifp); */ | ||||
in6_ifdetach_destroy(ifp); | in6_ifdetach_destroy(ifp); | ||||
mld_domifdetach(ifp); | mld_domifdetach(ifp); | ||||
/* Make sure any routes are gone as well. */ | /* Make sure any routes are gone as well. */ | ||||
rt_flushifroutes_af(ifp, AF_INET6); | rt_flushifroutes_af(ifp, AF_INET6); | ||||
} | } | ||||
IFNET_RUNLOCK(); | IFNET_RUNLOCK(); | ||||
frag6_destroy(); | |||||
nd6_destroy(); | nd6_destroy(); | ||||
in6_ifattach_destroy(); | in6_ifattach_destroy(); | ||||
hashdestroy(V_in6_ifaddrhashtbl, M_IFADDR, V_in6_ifaddrhmask); | hashdestroy(V_in6_ifaddrhashtbl, M_IFADDR, V_in6_ifaddrhmask); | ||||
} | } | ||||
VNET_SYSUNINIT(inet6, SI_SUB_PROTO_DOMAIN, SI_ORDER_THIRD, ip6_destroy, NULL); | VNET_SYSUNINIT(inet6, SI_SUB_PROTO_DOMAIN, SI_ORDER_THIRD, ip6_destroy, NULL); | ||||
#endif | #endif | ||||
▲ Show 20 Lines • Show All 1,460 Lines • Show Last 20 Lines |