diff options
Diffstat (limited to 'drivers/net/bonding/bond_alb.c')
-rw-r--r-- | drivers/net/bonding/bond_alb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_alb.c b/drivers/net/bonding/bond_alb.c index 25c14c6236f..3662d6e446a 100644 --- a/drivers/net/bonding/bond_alb.c +++ b/drivers/net/bonding/bond_alb.c | |||
@@ -333,7 +333,8 @@ static void rlb_update_entry_from_arp(struct bonding *bond, struct arp_pkt *arp) | |||
333 | 333 | ||
334 | if ((client_info->assigned) && | 334 | if ((client_info->assigned) && |
335 | (client_info->ip_src == arp->ip_dst) && | 335 | (client_info->ip_src == arp->ip_dst) && |
336 | (client_info->ip_dst == arp->ip_src)) { | 336 | (client_info->ip_dst == arp->ip_src) && |
337 | (compare_ether_addr_64bits(client_info->mac_dst, arp->mac_src))) { | ||
337 | /* update the clients MAC address */ | 338 | /* update the clients MAC address */ |
338 | memcpy(client_info->mac_dst, arp->mac_src, ETH_ALEN); | 339 | memcpy(client_info->mac_dst, arp->mac_src, ETH_ALEN); |
339 | client_info->ntt = 1; | 340 | client_info->ntt = 1; |