struct net_device *bond_option_active_slave_get_rcu(struct bonding *bond) { struct slave *slave = rcu_dereference(bond->curr_active_slave); return __bond_option_active_slave_get(bond, slave); }
struct net_device *bond_option_active_slave_get(struct bonding *bond) { return __bond_option_active_slave_get(bond, bond->curr_active_slave); }