| 569 | } |
| 570 | |
| 571 | static void |
| 572 | vxlan_ftable_fini(struct vxlan_softc *sc) |
| 573 | { |
| 574 | int i; |
| 575 | |
| 576 | for (i = 0; i < VXLAN_SC_FTABLE_SIZE; i++) { |
| 577 | KASSERT(LIST_EMPTY(&sc->vxl_ftable[i]), |
| 578 | ("%s: vxlan %p ftable[%d] not empty", __func__, sc, i)); |
| 579 | } |
| 580 | MPASS(sc->vxl_ftable_cnt == 0); |
| 581 | |
| 582 | free(sc->vxl_ftable, M_VXLAN); |
| 583 | sc->vxl_ftable = NULL; |
| 584 | } |
| 585 | |
| 586 | static void |
| 587 | vxlan_ftable_flush(struct vxlan_softc *sc, int all) |
no test coverage detected