Searched refs:curr_router (Results 1 – 1 of 1) sorted by relevance
51 struct batadv_neigh_node *curr_router; in _batadv_update_route() local58 curr_router = rcu_dereference(orig_ifinfo->router); in _batadv_update_route()59 if (curr_router && !atomic_inc_not_zero(&curr_router->refcount)) in _batadv_update_route()60 curr_router = NULL; in _batadv_update_route()64 if ((curr_router) && (!neigh_node)) { in _batadv_update_route()71 } else if ((!curr_router) && (neigh_node)) { in _batadv_update_route()76 } else if (neigh_node && curr_router) { in _batadv_update_route()80 curr_router->addr); in _batadv_update_route()83 if (curr_router) in _batadv_update_route()84 batadv_neigh_node_free_ref(curr_router); in _batadv_update_route()[all …]