Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vrrp: fix persistent FAULT state with use_vmac on a down base interface
If the base interface of VMAC is down at startup, the VRRP instance will remain on FAULT state even if the base interface is set up. Since the base interface is down, the VMAC operational state is also down and there is no operational IPv6 address. keepalived increments vrrp->num_script_if_fault. When the interface comes up, the link-local IPv6 address is set but vrrp->num_script_if_fault is not decremented. keepalived considers that there is still a remaining fault and keeps the VRRP instance in FAULT state. Increment vrrp->num_script_if_fault when an IPv6 appears on the VMAC. Fixes: 4c7a94a ("vrrp: Make VMAC IPv6 link local address mirror parent interface") Signed-off-by: Louis Scalbert <[email protected]>
- Loading branch information