Searched refs:cand_router (Results 1 – 1 of 1) sorted by relevance
547 struct batadv_neigh_node *router, *cand_router = NULL; in batadv_find_router() local586 cand_router = rcu_dereference(cand->router); in batadv_find_router()587 if (!cand_router) in batadv_find_router()590 if (!kref_get_unless_zero(&cand_router->refcount)) { in batadv_find_router()591 cand_router = NULL; in batadv_find_router()598 if (!bao->neigh.is_similar_or_better(cand_router, in batadv_find_router()604 if (last_cand_router == cand_router) in batadv_find_router()609 kref_get(&cand_router->refcount); in batadv_find_router()612 first_candidate_router = cand_router; in batadv_find_router()621 next_candidate_router = cand_router; in batadv_find_router()[all …]