]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: Revert the fix for zebra: Refresh remote neighbors when they go stale
authorMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>
Fri, 18 Aug 2017 00:39:20 +0000 (17:39 -0700)
committerMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>
Fri, 18 Aug 2017 00:40:17 +0000 (17:40 -0700)
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 <mitesh@cumulusnetworks.com>
zebra/zebra_vxlan.c

index 4a5fc3849322372646930f4856b2f392d477e72a..6bf33806b8e08f7fdcc3f317917c4586b8600df5 100644 (file)
@@ -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. */