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

Function inm_release_wait

freebsd/netinet/in_mcast.c:236–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234static struct task inm_free_task = TASK_INITIALIZER(0, inm_release_task, NULL);
235
236void
237inm_release_wait(void *arg __unused)
238{
239
240 /*
241 * Make sure all pending multicast addresses are freed before
242 * the VNET or network device is destroyed:
243 */
244 taskqueue_drain(taskqueue_inm_free, &inm_free_task);
245}
246#ifdef VIMAGE
247/* XXX-BZ FIXME, see D24914. */
248VNET_SYSUNINIT(inm_release_wait, SI_SUB_PROTO_DOMAIN, SI_ORDER_FIRST, inm_release_wait, NULL);

Callers 1

in_ifdetachFunction · 0.85

Calls 1

taskqueue_drainFunction · 0.85

Tested by

no test coverage detected