]> git.puffer.fish Git - mirror/frr.git/commit
vrrpd: don't update interface addrs on ifup
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 19 Feb 2019 22:36:34 +0000 (22:36 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 17 May 2019 00:27:08 +0000 (00:27 +0000)
commit8bceffc7c2da33a670723967cf525ab734b124f4
tree9dbdbc89313cf674fbcc5c02b386187a695c8cf4
parentb0ec34c8fd86dc68a969146e3474ae3117c5a156
vrrpd: don't update interface addrs on ifup

Updating interface addresses on autoconfigured VRRP instances when we
receive notification that an interface is up will cause us to delete
that VRRP instance because Zebra deletes all interface addresses when an
interfaces goes down so when it comes back up it has no addresses which
causes us to delete the instance, then Zebra subsequently sends us the
addresses which causes the instance to get recreated, however in a
non-owner scenario this will merely cause us to start in Backup, wait a
while, transition to Master, protodown off our interface, get an
interface up notification, delete all our ip addresses, destroy
ourselves, receive address notifications, recreate ourselves, reenter
Backup and cycle through it all over again.

So we just have to assume that no addresses went away since this
interface was last up.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
vrrpd/vrrp.c
vrrpd/vrrp_zebra.c