linux-sg2042/drivers/net/bonding
Vlad Yasevich d0c21d43a5 bonding: Send ALB learning packets using the right source
ALB learning packets are currentlyalways sent using the slave mac
address for all vlans configured on top of bond.   This is not always
correct, as vlans may change their mac address.
This patch introduced a concept of strict matching where the
source of learning packets can either strictly match the address
passed in, or it can determine a more correct address to use.

There are 3 casese to consider:
  1) Switchover.  In this case, we have a new active slave and we need
     tell the switch about all addresses available on the slave.
  2) Monitor.  We'll periodically refresh learning info for all slaves.
     In this case, we refresh all addresses for current active, and just
     the slave address for other slaves.
  3) Teaching of disabled adddress.  This happens as part of the
     failover and in this case, we alwyas to use just the address
     provided.

CC: Jay Vosburgh <j.vosburgh@gmail.com>
CC: Veaceslav Falico <vfalico@gmail.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-22 15:47:58 -04:00
..
Makefile bonding: add sysfs /slave dir for bond slave devices. 2014-01-17 18:51:58 -08:00
bond_3ad.c bonding: ratelimit pr_warn()s in 802.3ad mode 2014-03-18 14:50:48 -04:00
bond_3ad.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-02-19 01:24:22 -05:00
bond_alb.c bonding: Send ALB learning packets using the right source 2014-05-22 15:47:58 -04:00
bond_alb.h drivers/net/*: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
bond_debugfs.c bonding: Convert pr_warning to pr_warn, neatening 2014-02-17 00:29:23 -05:00
bond_main.c bonding: Fix stacked device detection in arp monitoring 2014-05-16 22:29:05 -04:00
bond_netlink.c bonding: force cast of IP address in options 2014-03-11 16:37:14 -04:00
bond_options.c bonding: fix out of range parameters for bond_intmax_tbl 2014-05-15 23:36:42 -04:00
bond_options.h bonding: fix const in options processing 2014-03-06 17:39:19 -05:00
bond_procfs.c bonding: fix const in options processing 2014-03-06 17:39:19 -05:00
bond_sysfs.c net: bonding: Fix format string mismatch in bond_sysfs.c 2014-04-28 14:48:16 -04:00
bond_sysfs_slave.c bonding: change name of sysfs dir for bonding slaves 2014-01-22 21:57:05 -08:00
bonding.h bonding: Fix stacked device detection in arp monitoring 2014-05-16 22:29:05 -04:00