bonding,ipv4,ipv6,vlan: Use notifiers to trigger advertisements on failover
Subsystems (2)
cover bonding,ipv4,ipv6,vlan: Use notifiers to trigger advertisements on failover
It is undesirable for the bonding driver to be poking into higher level protocols, and notifiers provide a way to avoid that.
Ian added NETDEV_NOTIFY_PEERS to trigger gratuitous ARP on VM migration. We should extend that to unsolicited NAs and propagate it through VLANs, then treat bonding failover in the same way.
Ben.
Ben Hutchings (3):
ipv6: Send unsolicited neighbour advertisements when notified
vlan: Propagate NETDEV_NOTIFY_PEERS notifier bonding,ipv4,ipv6,vlan: Handle NETDEV_BONDING_FAILOVER like
NETDEV_NOTIFY_PEERS
drivers/net/bonding/Makefile | 3 - drivers/net/bonding/bond_ipv6.c | 225 -------------------------------------- drivers/net/bonding/bond_main.c | 96 ---------------- drivers/net/bonding/bond_sysfs.c | 80 -------------- drivers/net/bonding/bonding.h | 29 ----- net/8021q/vlan.c | 12 ++ net/ipv4/devinet.c | 1 + net/ipv6/ndisc.c | 27 +++++ 8 files changed, 40 insertions(+), 433 deletions(-) delete mode 100644 drivers/net/bonding/bond_ipv6.c
Signature · 7 lines
1.7.4 -- Ben Hutchings, Senior Software Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked.
David Miller
maintainerFrom: Ben Hutchings <[email protected]>
Date: Sat, 16 Apr 2011 00:41:01 +0100
Quoted 6 lines
It is undesirable for the bonding driver to be poking into higher level protocols, and notifiers provide a way to avoid that.
Ian added
NETDEV_NOTIFY_PEERSto trigger gratuitous ARP on VM migration. We should extend that to unsolicited NAs and propagate it through VLANs, then treat bonding failover in the same way.
I'm going to apply these patches since they clean up so much.
If the concerns brought up by Jay or Brian need to be addressed, we can either add fixes or in the worst case revert.
Thanks!