Searched refs:curr_router (Results 1 – 1 of 1) sorted by relevance
60 struct batadv_neigh_node *curr_router; in _batadv_update_route() local79 curr_router = rcu_replace_pointer(orig_ifinfo->router, neigh_node, in _batadv_update_route()85 if (curr_router && !neigh_node) { in _batadv_update_route()92 } else if (!curr_router && neigh_node) { in _batadv_update_route()97 } else if (neigh_node && curr_router) { in _batadv_update_route()101 curr_router->addr); in _batadv_update_route()105 if (curr_router) in _batadv_update_route()106 batadv_neigh_node_put(curr_router); in _batadv_update_route()