From: Mitesh Kanjariya Date: Wed, 2 Aug 2017 00:34:51 +0000 (-0700) Subject: Zebra: replace mac entry in kernel when it moves from local to remote X-Git-Tag: frr-4.0-dev~362^2~26 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=23341a05841f1acbd83367e23eb14464c26683ba;p=mirror%2Ffrr.git Zebra: replace mac entry in kernel when it moves from local to remote Until now, we had to delete the local mac entries when a mac moved from local to remote, with the new kernel patch that is no longer necessary. Ticket:CM-16094 Reviewed By:CCR-6470 Testing Done: Manual Signed-off-by: Mitesh Kanjariya --- diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index f99c16ae91..676cf8334e 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -3272,9 +3272,6 @@ int zebra_vxlan_remote_macip_add(struct zserv *client, int sock, u_short length, /* Is this MAC created for a MACIP? */ if (ipa_len) SET_FLAG(mac->flags, ZEBRA_MAC_AUTO); - } else if (CHECK_FLAG(mac->flags, ZEBRA_MAC_LOCAL)) { - /* Moving from local to remote, issue delete. */ - zvni_mac_uninstall(zvni, mac, 1); } /* Set "auto" and "remote" forwarding info. */