Searched refs:new_hard_iface (Results 1 – 1 of 1) sorted by relevance
184 struct batadv_hard_iface *new_hard_iface) in batadv_primary_if_select() argument190 if (new_hard_iface && !atomic_inc_not_zero(&new_hard_iface->refcount)) in batadv_primary_if_select()191 new_hard_iface = NULL; in batadv_primary_if_select()194 rcu_assign_pointer(bat_priv->primary_if, new_hard_iface); in batadv_primary_if_select()196 if (!new_hard_iface) in batadv_primary_if_select()199 bat_priv->bat_algo_ops->bat_primary_iface_set(new_hard_iface); in batadv_primary_if_select()