* bridge_rtnode_destroy: * * Destroy a bridge rtnode. */
| 3087 | * Destroy a bridge rtnode. |
| 3088 | */ |
| 3089 | static void |
| 3090 | bridge_rtnode_destroy(struct bridge_softc *sc, struct bridge_rtnode *brt) |
| 3091 | { |
| 3092 | BRIDGE_RT_LOCK_ASSERT(sc); |
| 3093 | |
| 3094 | CK_LIST_REMOVE(brt, brt_hash); |
| 3095 | |
| 3096 | CK_LIST_REMOVE(brt, brt_list); |
| 3097 | sc->sc_brtcnt--; |
| 3098 | brt->brt_dst->bif_addrcnt--; |
| 3099 | |
| 3100 | NET_EPOCH_CALL(bridge_rtnode_destroy_cb, &brt->brt_epoch_ctx); |
| 3101 | } |
| 3102 | |
| 3103 | /* |
| 3104 | * bridge_rtable_expire: |
no outgoing calls
no test coverage detected