From d78fa57195ea66b5b2ecd8f0c792e6aea857489d Mon Sep 17 00:00:00 2001 From: Chirag Shah Date: Mon, 14 Sep 2020 11:39:53 -0700 Subject: [PATCH] zebra: protodown-up event trigger interface up Vxlan interfaces flap (protodown/up) event, non ptm operative interfaces do not come up as protodown up event do not trigger "if_up()" event. Ticket:CM-30477 Reviewed By:CCR-10681 Testing Done: validated interfaces flaps, ip link down, ifdown and protodown followed by UP event. all Vxlan interfaces come up in bgpd post flap. Signed-off-by: Chirag Shah --- zebra/if_netlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/if_netlink.c b/zebra/if_netlink.c index 22be153057..42e55acb51 100644 --- a/zebra/if_netlink.c +++ b/zebra/if_netlink.c @@ -1939,7 +1939,7 @@ int netlink_link_change(struct nlmsghdr *h, ns_id_t ns_id, int startup) zlog_debug( "Intf %s(%u) PTM up, notifying clients", name, ifp->ifindex); - zebra_interface_up_update(ifp); + if_up(ifp); /* Update EVPN VNI when SVI MAC change */