[acassen/keepalived] d80c17: Fix vrrp removes incorrect IPv4 address when VIPs ...
Alexandre Cassen <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <557ff3c5d85cb_6ec3fea9710d29c1002b0@hookshot-fe5-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/acassen/keepalived
Commit: d80c171e7e8fe7fb4e0878a15027ac80c23b0a14
https://github.com/acassen/keepalived/commit/d80c171e7e8fe7fb4e0878a15027ac80c23b0a14
Author: David Stapleton <[email protected]>
Date: 2015-06-15 (Mon, 15 Jun 2015)
Changed paths:
M keepalived/vrrp/vrrp_ipaddress.c
Log Message:
-----------
Fix vrrp removes incorrect IPv4 address when VIPs are removed
When vrrp has an IPv4 VIP that matches the primary interface
address, when the VIP is removed from the interface, the original
address ends up getting removed instead of the VIP.
The kernel receives a netlink message instructing it to remove
address x from a particular interface. For IPv4, address x can
be configured multiple times providing the prefix lengths differ.
If the IFA_ADDRESS attribute is not specified in a RTM_DELADDR
message, the kernel will delete the first address it finds a
match on, prefix length is not taken into account.
This fix therefore adds the IFA_ADDRESS attribute when deleting
IPv4 addresses so that the address removed is actually the VIP.
Commit: e104ba5b5b576eb624db69605ab0ecfacbf45857
https://github.com/acassen/keepalived/commit/e104ba5b5b576eb624db69605ab0ecfacbf45857
Author: Alexandre Cassen <[email protected]>
Date: 2015-06-16 (Tue, 16 Jun 2015)
Changed paths:
M keepalived/vrrp/vrrp_ipaddress.c
Log Message:
-----------
Merge pull request #155 from DStape/fix-vrrp-removes-primary-addr
Fix vrrp removes incorrect IPv4 address when VIPs are removed
Compare: https://github.com/acassen/keepalived/compare/18ee593dac25...e104ba5b5b57
------------------------------------------------------------------------------
_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel