From 168528beb46e8cc9f5651debbcc47ece101d9c1a Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 12 2020 00:30:30 +0000 Subject: Apply patch bz1792160-fix-fault-rename-interface.patch patch_name: bz1792160-fix-fault-rename-interface.patch present_in_specfile: true --- diff --git a/keepalived/vrrp/vrrp_if.c b/keepalived/vrrp/vrrp_if.c index 5b2e8c4..4a292e0 100644 --- a/keepalived/vrrp/vrrp_if.c +++ b/keepalived/vrrp/vrrp_if.c @@ -1051,7 +1051,9 @@ interface_down(interface_t *ifp) /* Any route that has an oif will be tracking the interface, * so we only need to check for routes that dont specify an * oif */ - if (!route->oif && route->configured_ifindex != ifp->ifindex) + /* Don't track route if it's not configured with this down + * interface. */ + if (!route->oif || route->configured_ifindex != ifp->ifindex) continue; route->set = false;