[acassen/keepalived] e73340: Fix handling of VMACs with multiple reloads

Quentin Armitage <[email protected]> Mon, 04 Feb 2019 14:11:45 -0800
Newsgroups gmane.linux.keepalived.devel
Message-ID <acassen/keepalived/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: e733407de3f19ea3f8155c67af5af1b3b6ff8cfd
      https://github.com/acassen/keepalived/commit/e733407de3f19ea3f8155c67af5af1b3b6ff8cfd
  Author: Quentin Armitage <[email protected]>
  Date:   2019-02-04 (Mon, 04 Feb 2019)

  Changed paths:
    M keepalived/vrrp/vrrp.c

  Log Message:
  -----------
  Fix handling of VMACs with multiple reloads

If a configuration is loaded that has a VRRP instance using a VMAC,
then the configuration is updated to remove that VRRP instance and
keepalived reloads its configuration, then the configuration is
updated again to reinstate the VRRP instance and the configuration
is again reloaded, keepalived thought the VMAC interface still
existed, whereas it was deleted following the first reload.

This commit ensures that keepalived properly detects whether an
interface exists following a reload.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 2299165b71dd4bed9b27c09f73968f317c089f62
      https://github.com/acassen/keepalived/commit/2299165b71dd4bed9b27c09f73968f317c089f62
  Author: Quentin Armitage <[email protected]>
  Date:   2019-02-04 (Mon, 04 Feb 2019)

  Changed paths:
    M keepalived/vrrp/vrrp.c

  Log Message:
  -----------
  Merge pull request #1124 from pqarmitage/updates

Fix handling of VMACs with multiple reloads


Compare: https://github.com/acassen/keepalived/compare/6317bb7ddacf...2299165b71dd