The sending channel may be already gone when rte_free_deferred()
is finally called so we have to log about route freeing in the
synchronous call instead.
if (!tab->rte_free_deferred++)
rt_lock_table(tab);
+ rt_rte_trace_in(D_ROUTES, e->rte.sender->req, &e->rte, "freeing");
defer_call(&rfdi.dc, sizeof rfdi);
}
/* No need for synchronize_rcu, implied by the deferred_call */
- rt_rte_trace_in(D_ROUTES, e->rte.sender->req, &e->rte, "freeing");
-
struct netindex *i = RTE_GET_NETINDEX(&e->rte);
net_unlock_index(tab->netindex, i);