]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf1aa7b353b371ccde3c0eb08b60669ce32d054c4
tree853030763649d09924e46df7dbd162d69bb6c7bf
parent9046a6d18632eeb26f324b7de9b921c2451a6e1d
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