Searched refs:new_hard_iface (Results 1 – 1 of 1) sorted by relevance
229 struct batadv_hard_iface *new_hard_iface) in batadv_primary_if_select() argument235 if (new_hard_iface && !atomic_inc_not_zero(&new_hard_iface->refcount)) in batadv_primary_if_select()236 new_hard_iface = NULL; in batadv_primary_if_select()239 rcu_assign_pointer(bat_priv->primary_if, new_hard_iface); in batadv_primary_if_select()241 if (!new_hard_iface) in batadv_primary_if_select()244 bat_priv->bat_algo_ops->bat_primary_iface_set(new_hard_iface); in batadv_primary_if_select()