Searched refs:cand_router (Results 1 – 1 of 1) sorted by relevance
529 struct batadv_neigh_node *router, *cand_router = NULL; in batadv_find_router() local568 cand_router = rcu_dereference(cand->router); in batadv_find_router()569 if (!cand_router) in batadv_find_router()572 if (!kref_get_unless_zero(&cand_router->refcount)) { in batadv_find_router()573 cand_router = NULL; in batadv_find_router()580 if (!bao->neigh.is_similar_or_better(cand_router, in batadv_find_router()586 if (last_cand_router == cand_router) in batadv_find_router()591 kref_get(&cand_router->refcount); in batadv_find_router()594 first_candidate_router = cand_router; in batadv_find_router()603 next_candidate_router = cand_router; in batadv_find_router()[all …]