| 1755 | } |
| 1756 | |
| 1757 | static void |
| 1758 | vxlan_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 | |
| 1771 | static void |
| 1772 | vxlan_teardown_wait(struct vxlan_softc *sc) |
no test coverage detected