]> git.puffer.fish Git - mirror/frr.git/commit
zebra: evpn handle del event for dup detected mac
authorChirag Shah <chirag@nvidia.com>
Wed, 1 Dec 2021 04:42:01 +0000 (20:42 -0800)
committerChirag Shah <chirag@nvidia.com>
Thu, 20 Apr 2023 22:45:26 +0000 (15:45 -0700)
commitad7685de2871996469d370192af7afafc234a3ca
tree09578cb4a8f03c42357b015cd9e0bae557b3e57b
parente2bebeb6665a7608ab3d2a0979b87584b04b15aa
zebra: evpn handle del event for dup detected mac

Upon receiving local mobility event for MAC + NEIGH,
both are detected as duplicate upon hitting DAD threshold.

Duplicated detected ( freezed) MAC + NEIGH are not known
to bgpd.

If locally learnt MAC + NEIGH are deleted in kernel,
the MAC is marked as AUTO after sending delete event
to bgpd.

Bgpd only reinstalls best route for MAC_IP route (NEIGH)
but not for MAC event.
This puts a situation where MAC is AUTO state and
associated neigh as remote.

Fix:
DUPLICATE + LOCAL MAC deletion, set MAC delete request
as reinstall from bgpd.

Ticket:#2873307
Reviewed By:
Testing Done:

Freeze MAC + two NEIGHs in local mobility event.
Delete MAC and NEIGH from kerenl.
bgp rsync remote mac route which puts MAC to remote state.

Signed-off-by: Chirag Shah <chirag@nvidia.com>
zebra/zebra_evpn_mac.c