]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: del auto mac when vni is down
authorChirag Shah <chirag@cumulusnetworks.com>
Fri, 26 Jul 2019 21:57:59 +0000 (14:57 -0700)
committerChirag Shah <chirag@cumulusnetworks.com>
Thu, 1 Aug 2019 20:21:01 +0000 (13:21 -0700)
commit6041b6864db54ad89674f8c757fb8c935bb9f9fe
treec9216a6a0c562e544d02a2e7ba9f9d6ac7ad150d
parent27547880d4e13684882a6b401337ee52efa9cd47
zebra: del auto mac when vni is down

Delete an auto MAC with no neighbor associated,
when its VNI is down.

In Following sequence stale MAC entry retained in
FRR (zebra).
- Local MAC-IP pair
- MAC is deleted in bridge fdb table
- VNI is down, triggers IP (neigh) entries removed
from FRR DB.
- MAC retained as AUTO MAC with neigh list count 0.
- When VNI is UP again, stale MAC entry retained in FRR
DB.
When the MAC-IP pair moves behind remote VTEP, local VTEP
fails to add remote entry as its MAC is in auto state.

Ticket:CM-25504
Reviewed By:
Testing Done:

Validated the sequence with fix and auto MAC is deleted
when VNI is down.
When VNI comes up, the remote MAC-IP is added to FRR (Zebra)
and kernel.

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