|
@@ -1763,7 +1763,7 @@ static int __bond_release_one(struct net_device *bond_dev,
|
|
}
|
|
}
|
|
|
|
|
|
if (all) {
|
|
if (all) {
|
|
- rcu_assign_pointer(bond->curr_active_slave, NULL);
|
|
|
|
|
|
+ RCU_INIT_POINTER(bond->curr_active_slave, NULL);
|
|
} else if (oldcurrent == slave) {
|
|
} else if (oldcurrent == slave) {
|
|
/*
|
|
/*
|
|
* Note that we hold RTNL over this sequence, so there
|
|
* Note that we hold RTNL over this sequence, so there
|