bonding: do not allow rlb updates to invalid mac
authorDebabrata Banerjee <dbanerje@akamai.com>
Wed, 9 May 2018 23:32:10 +0000 (19:32 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 May 2018 15:50:41 +0000 (11:50 -0400)
commit4fa8667ca3989ce14cf66301fa251544fbddbdd0
tree853030763649d09924e46df7dbd162d69bb6c7bf
parentca3943c4aaff083bc25419f04e549e293590258e
bonding: do not allow rlb updates to invalid mac

Make sure multicast, broadcast, and zero mac's cannot be the output of rlb
updates, which should all be directed arps. Receive load balancing will be
collapsed if any of these happen, as the switch will broadcast.

Signed-off-by: Debabrata Banerjee <dbanerje@akamai.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_alb.c