[acassen/keepalived] 2fc99f: Fix IPv4 vIP removal when addr matches pre-existin...

Alexandre Cassen <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <57571643df913_52523fbab9f3d2bc85689@hookshot-fe3-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 2fc99ffbd7f0d8f2316d739255144468fb8af543
      https://github.com/acassen/keepalived/commit/2fc99ffbd7f0d8f2316d739255144468fb8af543
  Author: David Stapleton <[email protected]>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M keepalived/vrrp/vrrp_ipaddress.c

  Log Message:
  -----------
  Fix IPv4 vIP removal when addr matches pre-existing interface addr

For IPv4 vIPs keepalived adds a /32 to the underlying interface. If
this address matches an address already configured, e.g. a /24, when
this vIP is eventually removed due to a configuration change or
keepalived shutdown, the original address matching the vIP, outside
of keepalived's control, is removed instead. This behaviour is
incorrect. The /32 added by keepalived should be the address being
removed. Keepalived should not be touching any addresses it does not
create.

This commit re-instates d80c171, the contents of which were removed
in ef73279. The IFA_ADDRESS attribute is included in the netlink
delete address message so that the /32 IPv4 address keepalived adds
is removed instead of the pre-existing interface address.


  Commit: 11786da81890985aff79edc4b8e95d5c6ff60105
      https://github.com/acassen/keepalived/commit/11786da81890985aff79edc4b8e95d5c6ff60105
  Author: Alexandre Cassen <[email protected]>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M keepalived/vrrp/vrrp_ipaddress.c

  Log Message:
  -----------
  Merge pull request #353 from DStape/fix-ipv4-vip-removal

Fix IPv4 vIP removal when addr matches pre-existing interface addr


Compare: https://github.com/acassen/keepalived/compare/43fbb745c084...11786da81890

------------------------------------------------------------------------------
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.