]> git.puffer.fish Git - mirror/frr.git/commit
zebra: resolve assert when adding ip import-table entry 2070/head
authorDon Slice <dslice@cumulusnetworks.com>
Sun, 15 Apr 2018 19:25:24 +0000 (12:25 -0700)
committerDon Slice <dslice@cumulusnetworks.com>
Mon, 16 Apr 2018 13:09:29 +0000 (06:09 -0700)
commite71c84ca311ea9df723be7a6cb5869d45b3bb4d6
treeb08662cca8e23e4909e877c22f8bf92616c993b8
parentbf2c7ef2a68b2df772233aaff5d8f63fb345a6bc
zebra: resolve assert when adding ip import-table entry

Problem was due to in certain route replace circumstances,
we would mark the old route_entry as removed to delete it but
would leave the selected flag set.  When the rn was pulled off the
work queue for process, we would find both the new re and old re
(being deleted) with the selected flag set and would assert.
In this change, when we decide to delete the old re, we also  mark
it as no longer selected.

Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
zebra/redistribute.c