Searched refs:cand_router (Results 1 – 1 of 1) sorted by relevance
528 struct batadv_neigh_node *router, *cand_router = NULL; in batadv_find_router() local567 cand_router = rcu_dereference(cand->router); in batadv_find_router()568 if (!cand_router) in batadv_find_router()571 if (!kref_get_unless_zero(&cand_router->refcount)) { in batadv_find_router()572 cand_router = NULL; in batadv_find_router()579 if (!bao->neigh.is_similar_or_better(cand_router, in batadv_find_router()585 if (last_cand_router == cand_router) in batadv_find_router()590 kref_get(&cand_router->refcount); in batadv_find_router()593 first_candidate_router = cand_router; in batadv_find_router()602 next_candidate_router = cand_router; in batadv_find_router()[all …]