From 23341a05841f1acbd83367e23eb14464c26683ba Mon Sep 17 00:00:00 2001 From: Mitesh Kanjariya Date: Tue, 1 Aug 2017 17:34:51 -0700 Subject: [PATCH] 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 --- zebra/zebra_vxlan.c | 3 --- 1 file changed, 3 deletions(-) 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. */ -- 2.39.5