]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Modify lsp processing to be invoked as needed
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 8 Feb 2019 22:14:30 +0000 (17:14 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 27 Mar 2019 20:22:22 +0000 (16:22 -0400)
commita1494c250ccf6737135f52b5bf660ca071e1c43f
tree8688839a1de661d4b03ebd5f9bf5b884dcb832dc
parent50872b0804870e2f2ffaf5db8d3052af4003dc89
zebra: Modify lsp processing to be invoked as needed

LSP processing was a zvrf flag based upon a connected route
coming or going.  But this did not allow us to know
that we should do lsp processing other than after the meta-queue
processing was finished.

Eventually we moved meta-queue processing of do_nht_processing
to after the dataplane sent the main pthread some results.
This of course left us with a timing hole where if a connected
route came in and we received a data plane response *before*
the meta queue was processed we would not do the work as necessary.

Move the lsp processing to a flag off of the rib_dest_t. If it
is marked then we need to process lsps.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/connected.c
zebra/rib.h
zebra/zebra_mpls.h
zebra/zebra_rib.c