]> git.puffer.fish Git - mirror/frr.git/commit
zebra: make neigh active when it is modified from local to remote
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Tue, 16 Oct 2018 15:23:22 +0000 (08:23 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 31 Oct 2018 10:23:32 +0000 (06:23 -0400)
commit4fd5ea4b3edf602e35373b6548639aa0a6dda6c2
tree2beedc006c8c416c770e080d275978ebdd60ecc5
parent6d8c603a930f229aac931aac2f556f79f4b7b437
zebra: make neigh active when it is modified from local to remote

This is a fixup to commit -
f32ea5c07 - zebra: act on kernel notifications for remote neighbors

The original commit handled a race condition between kernel and zebra
that would result in an inconsistent state i.e.
kernel has an offload/remote neigh
zebra has a local neigh

The original commit missed setting the neigh to active when zebra
tried to resolve the inconsistency by modifying the local neigh to
remote neigh on hearing back its own kernel update. Fixed here.

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