diff options
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 4b8c58b0ec24..6191b551a0e8 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c | |||
@@ -1763,7 +1763,7 @@ static int __bond_release_one(struct net_device *bond_dev, | |||
1763 | } | 1763 | } |
1764 | 1764 | ||
1765 | if (all) { | 1765 | if (all) { |
1766 | rcu_assign_pointer(bond->curr_active_slave, NULL); | 1766 | RCU_INIT_POINTER(bond->curr_active_slave, NULL); |
1767 | } else if (oldcurrent == slave) { | 1767 | } else if (oldcurrent == slave) { |
1768 | /* | 1768 | /* |
1769 | * Note that we hold RTNL over this sequence, so there | 1769 | * Note that we hold RTNL over this sequence, so there |