aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r--drivers/net/bonding/bond_main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index ec44580b076f..742c193881fa 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -843,9 +843,8 @@ static void bond_hw_addr_swap(struct bonding *bond, struct slave *new_active,
843static void bond_set_dev_addr(struct net_device *bond_dev, 843static void bond_set_dev_addr(struct net_device *bond_dev,
844 struct net_device *slave_dev) 844 struct net_device *slave_dev)
845{ 845{
846 pr_debug("bond_dev=%p\n", bond_dev); 846 pr_debug("bond_dev=%p slave_dev=%p slave_dev->addr_len=%d\n",
847 pr_debug("slave_dev=%p\n", slave_dev); 847 bond_dev, slave_dev, slave_dev->addr_len);
848 pr_debug("slave_dev->addr_len=%d\n", slave_dev->addr_len);
849 memcpy(bond_dev->dev_addr, slave_dev->dev_addr, slave_dev->addr_len); 848 memcpy(bond_dev->dev_addr, slave_dev->dev_addr, slave_dev->addr_len);
850 bond_dev->addr_assign_type = NET_ADDR_STOLEN; 849 bond_dev->addr_assign_type = NET_ADDR_STOLEN;
851 call_netdevice_notifiers(NETDEV_CHANGEADDR, bond_dev); 850 call_netdevice_notifiers(NETDEV_CHANGEADDR, bond_dev);