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

Function inp_freemoptions

freebsd/netinet/in_mcast.c:1659–1665  ·  view source on GitHub ↗

* Discard the IP multicast options (and source filters). To minimize * the amount of work done while holding locks such as the INP's * pcbinfo lock (which is used in the receive path), the free * operation is deferred to the epoch callback task. */

Source from the content-addressed store, hash-verified

1657 * operation is deferred to the epoch callback task.
1658 */
1659void
1660inp_freemoptions(struct ip_moptions *imo)
1661{
1662 if (imo == NULL)
1663 return;
1664 inp_gcmoptions(imo);
1665}
1666
1667/*
1668 * Atomically get source filters on a socket for an IPv4 multicast group.

Callers 1

in_pcbfree_deferredFunction · 0.85

Calls 1

inp_gcmoptionsFunction · 0.70

Tested by

no test coverage detected