Home
last modified time | relevance | path

Searched refs:curr_router (Results 1 – 1 of 1) sorted by relevance

/linux/net/batman-adv/
H A Drouting.c59 struct batadv_neigh_node *curr_router; in _batadv_update_route() local
78 curr_router = rcu_replace_pointer(orig_ifinfo->router, neigh_node, in _batadv_update_route()
84 if (curr_router && !neigh_node) { in _batadv_update_route()
91 } else if (!curr_router && neigh_node) { in _batadv_update_route()
96 } else if (neigh_node && curr_router) { in _batadv_update_route()
100 curr_router->addr); in _batadv_update_route()
104 batadv_neigh_node_put(curr_router); in _batadv_update_route()