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

Function vxlan_release

freebsd/net/if_vxlan.c:1757–1769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1755}
1756
1757static void
1758vxlan_release(struct vxlan_softc *sc)
1759{
1760
1761 /*
1762 * The softc may be destroyed as soon as we release our reference,
1763 * so we cannot serialize the wakeup with the softc lock. We use a
1764 * timeout in our sleeps so a missed wakeup is unfortunate but not
1765 * fatal.
1766 */
1767 if (VXLAN_RELEASE(sc) != 0)
1768 wakeup(sc);
1769}
1770
1771static void
1772vxlan_teardown_wait(struct vxlan_softc *sc)

Callers 4

vxlan_transmitFunction · 0.85
vxlan_inputFunction · 0.85

Calls 1

wakeupFunction · 0.50

Tested by

no test coverage detected