* Schedule rtentry deletion */
| 174 | * Schedule rtentry deletion |
| 175 | */ |
| 176 | static void |
| 177 | rtfree(struct rtentry *rt) |
| 178 | { |
| 179 | |
| 180 | KASSERT(rt != NULL, ("%s: NULL rt", __func__)); |
| 181 | |
| 182 | epoch_call(net_epoch_preempt, destroy_rtentry_epoch, |
| 183 | &rt->rt_epoch_ctx); |
| 184 | } |
| 185 | |
| 186 | static struct rib_head * |
| 187 | get_rnh(uint32_t fibnum, const struct rt_addrinfo *info) |
no test coverage detected