]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: advertise stale neighs if EVPN-MH is not enabled
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Tue, 7 Jul 2020 01:01:41 +0000 (18:01 -0700)
committerAnuradha Karuppiah <anuradhak@nvidia.com>
Mon, 21 Dec 2020 16:41:15 +0000 (08:41 -0800)
commitc7bfd085680bf94ea5dbdccc875f7e0257a9a9c8
tree032d74b7239e78e0ba7988d008bc58181fb1b82e
parent362c8f2d739cc21d92b17a64fc8b1a1452aed485
zebra: advertise stale neighs if EVPN-MH is not enabled

With EVPN-MH, Type-2 routes are also used for MAC-IP syncing between
ES peers so a change was done to only treat REACHABLE local neigh
entries as local-active and advertise them as Type-2 routes i.e. STALE
neigh entries are no longer advertised as Type-2s.

This however exposed some unexpected problems with MLAG where a
secondary reboot followed by a primary reboot left a lot of neighs
in STALE state (on the primary) resulting in them not being
advertised. And remote routed traffic to those hosts being
blackholed in a sym-IRB setup.

This commit is a workaround to fix the regression (it doesn't fix
the underlying problems with entries not becoming REACHABLE; which
maybe a day-1 problem). The workaround is to continue advertising
STALE neighbors if EVPN-MH is not enabled.

Ticket: CM-30303

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
zebra/rt_netlink.c
zebra/zebra_evpn_mh.c
zebra/zebra_evpn_mh.h