]> 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)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Mon, 24 Apr 2023 13:51:52 +0000 (13:51 +0000)
commitb6e64012549d7e2a5cf1f8ad67544c75998aa5fb
treedfdcbac47d937526e7cedd2a11b657505c832a60
parent7a2b85ae52b354248fa9da04100efba0ec6c70c9
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>
(cherry picked from commit ad7685de2871996469d370192af7afafc234a3ca)
zebra/zebra_evpn_mac.c