Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet6/in6_ifattach.c
Show First 20 Lines • Show All 865 Lines • ▼ Show 20 Lines | in6_purgemaddrs(struct ifnet *ifp) | ||||
IN6_MULTI_UNLOCK(); | IN6_MULTI_UNLOCK(); | ||||
in6m_release_list_deferred(&inmh); | in6m_release_list_deferred(&inmh); | ||||
/* | /* | ||||
* Make sure all multicast deletions invoking if_ioctl() are | * Make sure all multicast deletions invoking if_ioctl() are | ||||
* completed before returning. Else we risk accessing a freed | * completed before returning. Else we risk accessing a freed | ||||
* ifnet structure pointer. | * ifnet structure pointer. | ||||
*/ | */ | ||||
in6m_release_wait(); | in6m_release_wait(NULL); | ||||
} | } | ||||
void | void | ||||
in6_ifattach_destroy(void) | in6_ifattach_destroy(void) | ||||
{ | { | ||||
callout_drain(&V_in6_tmpaddrtimer_ch); | callout_drain(&V_in6_tmpaddrtimer_ch); | ||||
} | } | ||||
Show All 19 Lines |