From 859b32c0307b3753cc4008ee03e5eee571b8d8c7 Mon Sep 17 00:00:00 2001 From: Mitesh Kanjariya Date: Thu, 17 Aug 2017 17:39:20 -0700 Subject: [PATCH] zebra: Revert the fix for zebra: Refresh remote neighbors when they go stale NUD_STALE flag is causing a build breakage, we might have to define it somewhere in frr. Reverting the fix for now untill we decide how to handle it correctly. Signed-off-by: Mitesh Kanjariya --- zebra/zebra_vxlan.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index 4a5fc38493..6bf33806b8 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -2876,9 +2876,8 @@ int zebra_vxlan_local_neigh_del(struct interface *ifp, } /* - * Handle neighbor add or update from the kernel. This is typically - * for a local neighbor on a VLAN device (L3 interface) but can also - * be the ageout notification for a remote neighbor. + * Handle neighbor add or update (on a VLAN device / L3 interface) + * from the kernel. */ int zebra_vxlan_local_neigh_add_update(struct interface *ifp, struct interface *link_if, @@ -2979,9 +2978,7 @@ int zebra_vxlan_local_neigh_add_update(struct interface *ifp, /* The neighbor is remote and that is the notification we got. */ { - /* If the kernel has aged this entry, re-install. */ - if (state & NUD_STALE) - zvni_neigh_install(zvni, n); + /* TODO: Evaluate if we need to do anything here. */ return 0; } else /* Neighbor has moved from remote to local. */ -- 2.39.5