Revert "bonding: fix xfrm state handling when clearing active slave"
This reverts commit 08a3b787ac
.
This commit is contained in:
parent
5036a90d21
commit
b4e9e5b37a
1 changed files with 1 additions and 1 deletions
|
@ -822,7 +822,7 @@ static int bond_option_active_slave_set(struct bonding *bond,
|
|||
/* check to see if we are clearing active */
|
||||
if (!slave_dev) {
|
||||
netdev_dbg(bond->dev, "Clearing current active slave\n");
|
||||
bond_change_active_slave(bond, NULL);
|
||||
RCU_INIT_POINTER(bond->curr_active_slave, NULL);
|
||||
bond_select_active_slave(bond);
|
||||
} else {
|
||||
struct slave *old_active = rtnl_dereference(bond->curr_active_slave);
|
||||
|
|
Loading…
Reference in a new issue