in backup state notify when vrrp is not up and move to FAULT state
ipvs: failed RS was flapping on config reload

The RS disabled by health-checker was turned on w/o health-checking
by SIGHUP handler in the init_service_rs() subroutine.
This did not happen with alpha mode set.

The issue was reported by Luis Fernando Cornachioni Estrozi
in the keepalived-devel@ list.
Merge pull request #106 from andriyanov/to_acassen

ipvs: failed RS was flapping on config reload
libipvs: allow IPv4 RS in IPv6 VS and vice versa

This change syncronizes local copy of libipvs with the upstream (kernel/ipvsadm/ipvsadm.git) to the date.
IPVS in Linux 3.18 will include the feature of mixing of tunneled RS families in single VS by Alex Gartrell.

The compatibility with older kernel versions is kept.
libipvs: minor bugfix with retreiving dest af

This change needs to be sent to the ipvsadm upstream, too.
This clarifies the previous commit, so there is no need to mention it in the changelog.
check if interface is known when using use_vmac

vrrp->ifp is NULL when use_vmac keyword is defined before the
interface keyword. This would result in a segfault
(http://sourceforge.net/p/keepalived/mailman/message/33083027/).
check if interface is known when using use_vmac

vrrp->ifp is NULL when use_vmac keyword is defined before the
interface keyword. This would result in a segfault
(http://sourceforge.net/p/keepalived/mailman/message/33083027/).
Merge pull request #109 from frankbb/pr

check if interface is known when using use_vmac
vrrp: simplify macvlan creation

Create the macvlan interface in one netlink command rather than three (creation
of the macvlan in netlink_link_add_vmac function, set of the mac address in the
netlink_link_setlladdr function, set macvlan mode in the netlink_link_setmode
function).

This simplification:
1. avoids potential issues if the firt netlink command passes but not the
   next ones
2. reduces number of netlink messages (light optimization)

Signed-off-by: Thibaut Collet <thibaut.collet@6wind.com>
Merge pull request #110 from 6WIND/master

vrrp: simplify macvlan creation
Merge pull request #105 from frankbb/master

in backup state notify when vrrp is not up and move to FAULT state
ipvs, bug: quorum state was flapping when Q < H

When a service had quorum < hysteresis, the lower threshold of RS weights was calculated incorrecly.

Unsigned arythmetics was used, so errors like this appeared in log:
  Keepalived_healthcheckers[2535]: Lost quorum 1-2=18446744073709551615 > 10 for VS

The up -> down quorum state transition was happening every time when alive RS set was changed.

This bug was in place since keepalived-1.2.9
Merge pull request #112 from andriyanov/ya_build_3

libipvs extensions. IPVS quorum bugfixes.
fix prev commit: wrong format in log_message
Merge pull request #113 from andriyanov/ya_build_3

fix prev commit: wrong format in log_message
vrrp: add support to IPv6 mcast src address specification

For some reason (well... which one ?), previous code didnt support specification
of multicast source address in IPv6 mode. If you are using 'native_ipv6' and want
to specify IPv6 mcast source ip address then you can use 'mcast_src_ip' keyword
with IPv6 address.
vrrp: Add support to IPv6 src_address discrimination in master rx state

Previous code didnt support IPv6 address discrimination while in MASTER state
receiving same prio advert. This patch extend previous code to support IP
address comparison agnostic.
vrrp: Add missing IP address comparison while receiving same prio advert in MASTER

Pevious code updated link and sent advert in MASTER mode if received advert was
lower prio than local instance prio. Extended the code to handle the same case
where incoming advert is the same prio but ip_src is lower than local instance
ip_src. This patch just speed up the election by automatically update remote
cache (v4 or v6).
vrrp: revert previous patch
vrrp: re-apply previously reverted