Searched refs:cand_router (Results 1 – 1 of 1) sorted by relevance
602 struct batadv_neigh_node *cand_router = NULL; in batadv_find_router() local640 cand_router = rcu_dereference(cand->router); in batadv_find_router()641 if (!cand_router) in batadv_find_router()644 if (!kref_get_unless_zero(&cand_router->refcount)) { in batadv_find_router()645 cand_router = NULL; in batadv_find_router()652 if (!bao->neigh.is_similar_or_better(cand_router, in batadv_find_router()658 if (last_cand_router == cand_router) in batadv_find_router()663 kref_get(&cand_router->refcount); in batadv_find_router()666 first_candidate_router = cand_router; in batadv_find_router()675 next_candidate_router = cand_router; in batadv_find_router()[all …]