]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_vxlan.c
zebra: set remoteseq to 0 when remote mac is deleted by bgpd
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Tue, 16 Oct 2018 19:59:24 +0000 (12:59 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 31 Oct 2018 10:23:32 +0000 (06:23 -0400)
commitf3a930da157cd9febea3d8f0f723fb8351e75d9c
tree3d3d67f81fcbaa4e67a7d11763cc8b642858872c
parent4fd5ea4b3edf602e35373b6548639aa0a6dda6c2
zebra: set remoteseq to 0 when remote mac is deleted by bgpd

When the remote mac is deleted by bgpd we can end up with an auto mac
entry in zebra if there are neighs referring to the mac. The remote sequence
number in the auto mac entry needs to be reset to 0 as the mac entry may
have been removed on all VTEPs (including the originating one).

Now if the MAC comes back on a remote VTEP it may be added with MM=0 which
 will NOT be accepted if the remote seq was not reset in the previous step.

Ticket: CM-22707

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
zebra/zebra_vxlan.c