diff options
Diffstat (limited to 'drivers/net/bonding/bond_alb.c')
-rw-r--r-- | drivers/net/bonding/bond_alb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/bonding/bond_alb.c b/drivers/net/bonding/bond_alb.c index 7c9d136e74be..f5e052723029 100644 --- a/drivers/net/bonding/bond_alb.c +++ b/drivers/net/bonding/bond_alb.c | |||
@@ -507,7 +507,7 @@ static void rlb_update_client(struct rlb_client_info *client_info) | |||
507 | client_info->mac_dst); | 507 | client_info->mac_dst); |
508 | if (!skb) { | 508 | if (!skb) { |
509 | pr_err("%s: Error: failed to create an ARP packet\n", | 509 | pr_err("%s: Error: failed to create an ARP packet\n", |
510 | client_info->slave->dev->master->name); | 510 | client_info->slave->bond->dev->name); |
511 | continue; | 511 | continue; |
512 | } | 512 | } |
513 | 513 | ||
@@ -517,7 +517,7 @@ static void rlb_update_client(struct rlb_client_info *client_info) | |||
517 | skb = vlan_put_tag(skb, client_info->vlan_id); | 517 | skb = vlan_put_tag(skb, client_info->vlan_id); |
518 | if (!skb) { | 518 | if (!skb) { |
519 | pr_err("%s: Error: failed to insert VLAN tag\n", | 519 | pr_err("%s: Error: failed to insert VLAN tag\n", |
520 | client_info->slave->dev->master->name); | 520 | client_info->slave->bond->dev->name); |
521 | continue; | 521 | continue; |
522 | } | 522 | } |
523 | } | 523 | } |
@@ -1043,7 +1043,7 @@ static int alb_set_slave_mac_addr(struct slave *slave, u8 addr[]) | |||
1043 | if (dev_set_mac_address(dev, &s_addr)) { | 1043 | if (dev_set_mac_address(dev, &s_addr)) { |
1044 | pr_err("%s: Error: dev_set_mac_address of dev %s failed!\n" | 1044 | pr_err("%s: Error: dev_set_mac_address of dev %s failed!\n" |
1045 | "ALB mode requires that the base driver support setting the hw address also when the network device's interface is open\n", | 1045 | "ALB mode requires that the base driver support setting the hw address also when the network device's interface is open\n", |
1046 | dev->master->name, dev->name); | 1046 | slave->bond->dev->name, dev->name); |
1047 | return -EOPNOTSUPP; | 1047 | return -EOPNOTSUPP; |
1048 | } | 1048 | } |
1049 | return 0; | 1049 | return 0; |