mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Table best feed collision fix
This commit is contained in:
parent
47e493f228
commit
8e240fc44f
@ -2347,7 +2347,7 @@ rt_feed_net_best(struct rt_exporter *e, struct rcu_unwinder *u, u32 index, const
|
|||||||
rpe = atomic_load_explicit(&rpe->next, memory_order_acquire))
|
rpe = atomic_load_explicit(&rpe->next, memory_order_acquire))
|
||||||
ecnt++;
|
ecnt++;
|
||||||
|
|
||||||
struct rte_storage *best = atomic_load_explicit(&n->routes, memory_order_acquire);
|
struct rte_storage *best = NET_READ_BEST_ROUTE(tr, n);
|
||||||
if (!ecnt && !best)
|
if (!ecnt && !best)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user