[acassen/keepalived] 9f6767: Fix transition to backup when receive equal priori...

Alexandre Cassen <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <575983dd3c2a6_5b8c3fe8dd8a72c0126885@hookshot-fe2-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 9f67675e93dcb03fb0739b1b8fd04a90475af5a0
      https://github.com/acassen/keepalived/commit/9f67675e93dcb03fb0739b1b8fd04a90475af5a0
  Author: Quentin Armitage <[email protected]>
  Date:   2016-06-09 (Thu, 09 Jun 2016)

  Changed paths:
    M keepalived/vrrp/vrrp.c

  Log Message:
  -----------
  Fix transition to backup when receive equal priority advert from higher address

When a vrrp instance in master mode received an advert from another master that
had equal priority, it wasn't comparing the addresses to determine whether it
should treat the advert as higher priority, and hence the instance should
fall back into backup state.

When checking whether the advert is from a lower priority master, it now checks
if the priorities are equal and then compares the addresses.

This commit resolves issue #342.

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


  Commit: d149f70394ffb10274db7ba22f8441c0d5cdd352
      https://github.com/acassen/keepalived/commit/d149f70394ffb10274db7ba22f8441c0d5cdd352
  Author: Quentin Armitage <[email protected]>
  Date:   2016-06-09 (Thu, 09 Jun 2016)

  Changed paths:
    M keepalived/vrrp/vrrp.c

  Log Message:
  -----------
  Optimise address comparision when receive advert in master mode

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


  Commit: ae3ea1d375d3119d122fe7f97e349a42f8a2800b
      https://github.com/acassen/keepalived/commit/ae3ea1d375d3119d122fe7f97e349a42f8a2800b
  Author: Quentin Armitage <[email protected]>
  Date:   2016-06-09 (Thu, 09 Jun 2016)

  Changed paths:
    M lib/utils.c

  Log Message:
  -----------
  Optimise inet_inaddr_cmp

ntohl() was potentially being called twice for each 32 bits of address,
and for IPv6 addresses the code has been streamlined into a loop.

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


  Commit: 34ccb6636d37f368ca0fd49d47ada2823522c298
      https://github.com/acassen/keepalived/commit/34ccb6636d37f368ca0fd49d47ada2823522c298
  Author: Quentin Armitage <[email protected]>
  Date:   2016-06-09 (Thu, 09 Jun 2016)

  Log Message:
  -----------
  Merge remote-tracking branch 'upstream/master' into fixes


  Commit: c9cf8d9b8941eee30fd1a295af59c62f07d1fcf4
      https://github.com/acassen/keepalived/commit/c9cf8d9b8941eee30fd1a295af59c62f07d1fcf4
  Author: Alexandre Cassen <[email protected]>
  Date:   2016-06-09 (Thu, 09 Jun 2016)

  Changed paths:
    M keepalived/vrrp/vrrp.c
    M lib/utils.c

  Log Message:
  -----------
  Merge pull request #358 from pqarmitage/fixes

Resolve multi-master problem after keepalived instances isolated from each other


Compare: https://github.com/acassen/keepalived/compare/33b4160fe852...c9cf8d9b8941

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.