Lines Matching defs:curr_router
60 struct batadv_neigh_node *curr_router;
67 /* curr_router used earlier may not be the current orig_ifinfo->router
71 * the code needs to ensure the curr_router variable contains a pointer
79 curr_router = rcu_replace_pointer(orig_ifinfo->router, neigh_node,
85 if (curr_router && !neigh_node) {
92 } else if (!curr_router && neigh_node) {
97 } else if (neigh_node && curr_router) {
101 curr_router->addr);
105 if (curr_router)
106 batadv_neigh_node_put(curr_router);