MCPcopy Create free account
hub / github.com/F-Stack/f-stack / in6m_release_wait

Function in6m_release_wait

freebsd/netinet6/in6_mcast.c:534–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532}
533
534void
535in6m_release_wait(void *arg __unused)
536{
537
538 /*
539 * Make sure all pending multicast addresses are freed before
540 * the VNET or network device is destroyed:
541 */
542 taskqueue_drain_all(taskqueue_in6m_free);
543}
544#ifdef VIMAGE
545/* XXX-BZ FIXME, see D24914. */
546VNET_SYSUNINIT(in6m_release_wait, SI_SUB_PROTO_DOMAIN, SI_ORDER_FIRST, in6m_release_wait, NULL);

Callers 1

in6_purgemaddrsFunction · 0.85

Calls 1

taskqueue_drain_allFunction · 0.85

Tested by

no test coverage detected