Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/in6_ifattach.c
Show First 20 Lines • Show All 855 Lines • ▼ Show 20 Lines | in6_tmpaddrtimer(void *arg) | ||||
CURVNET_RESTORE(); | CURVNET_RESTORE(); | ||||
} | } | ||||
static void | static void | ||||
in6_purgemaddrs(struct ifnet *ifp) | in6_purgemaddrs(struct ifnet *ifp) | ||||
{ | { | ||||
struct in6_multi_head inmh; | struct in6_multi_head inmh; | ||||
in6_purge_proxy_ndp_mc(ifp); | |||||
SLIST_INIT(&inmh); | SLIST_INIT(&inmh); | ||||
IN6_MULTI_LOCK(); | IN6_MULTI_LOCK(); | ||||
IN6_MULTI_LIST_LOCK(); | IN6_MULTI_LIST_LOCK(); | ||||
mld_ifdetach(ifp, &inmh); | mld_ifdetach(ifp, &inmh); | ||||
IN6_MULTI_LIST_UNLOCK(); | IN6_MULTI_LIST_UNLOCK(); | ||||
IN6_MULTI_UNLOCK(); | IN6_MULTI_UNLOCK(); | ||||
in6m_release_list_deferred(&inmh); | in6m_release_list_deferred(&inmh); | ||||
Show All 33 Lines |