]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: remove recursively derived static routes correctly
authorDon Slice <dslice@cumulusnetworks.com>
Thu, 10 Nov 2016 23:49:45 +0000 (15:49 -0800)
committerDon Slice <dslice@cumulusnetworks.com>
Mon, 14 Nov 2016 15:06:46 +0000 (07:06 -0800)
commit9274cde5dc2dc92045ca3bb5dbd4162d81beb549
treecaa9ed6a2556b424ed8995d79711cdecd9cf8938
parent207e0d7a7909b75b2cb9d7bf8f8e817698bf55c9
zebra: remove recursively derived static routes correctly

Problem reported that in certain configs, when a router is initially
booted and the link is bounced, we can end up with a bogus static route
in the table.  This was due to the assumption in zebra_rnh that a static
route would not be recursively resolved through another static route with
a different next-hop. This fix changes this assumption.  Tested manually
and bgp-min, ospf-min, and vrf-min run with no new failures.

Ticket: CM-13328
Signed-off-by: Don Slice
Reviewed-by: CCR-5338
zebra/zebra_rnh.c