From: anlan_cs Date: Mon, 16 May 2022 13:18:26 +0000 (-0400) Subject: zebra: fix missing delete vtep during vni transition X-Git-Tag: base_8.3~53^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F11210%2Fhead;p=mirror%2Ffrr.git zebra: fix missing delete vtep during vni transition All `vtep`s in dplane should be deleted/uninstalled during vni transition. Signed-off-by: anlan_cs --- diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index c5d3b8c8dc..e21a64b459 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -2115,7 +2115,7 @@ static int zebra_vxlan_handle_vni_transition(struct zebra_vrf *zvrf, vni_t vni, zebra_evpn_mac_del_all(zevpn, 0, 0, DEL_ALL_MAC); /* Free up all remote VTEPs, if any. */ - zebra_evpn_vtep_del_all(zevpn, 0); + zebra_evpn_vtep_del_all(zevpn, 1); /* Delete the hash entry. */ if (zebra_evpn_vxlan_del(zevpn)) {