]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: unset sticky mac upon local deletion
authorChirag Shah <chirag@cumulusnetworks.com>
Thu, 9 May 2019 19:25:44 +0000 (12:25 -0700)
committerChirag Shah <chirag@cumulusnetworks.com>
Fri, 10 May 2019 18:10:42 +0000 (11:10 -0700)
commit5756dd1d07393ffa68f5e3a03e84ff7e23beca1b
treede46a1a636d1cc8fb52f2556d581b219b932b18f
parent11056dd815b7291add6c9cc1b6a9edd82558aa5c
zebra: unset sticky mac upon local deletion

if the local sticky mac delete request is received,
if there are associated neighbor entries present, mac's
only local flag is removed and marked as auto mac.

this results in next local mac learning automatically assumes
mac is sticky.

There is a case when bridge learning off is configured, user
configures sticky mac via bridge fdb add.
This MAC learns associated neighbor entry.
Later user deletes stick mac via bridge fdb del, this triggers
frr to delete mac but if there are neighbors present, frr marks
MAC as AUTO but does not remove sticky flag.
User enables bridge learning on which triggers
The mac to learn as dynamic entry and in absence of this
fix, the mac is marked as sticky.

Ticket:CM-24968
Reviewed By:CCR-8683
Testing Done:

Validated broken condition with internally reproduction
with fix and without.

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