fib: adj cover refinement check change 22/20322/2
authorNeale Ranns <nranns@cisco.com>
Tue, 25 Jun 2019 11:38:37 +0000 (11:38 +0000)
committerNeale Ranns <nranns@cisco.com>
Wed, 26 Jun 2019 07:29:04 +0000 (07:29 +0000)
commitf6a9ec5cfccb26553e8fefddd355fe2e400ad396
tree758f6e4415b7fe042d6122f11ff098f6b08f9d5d
parent00dd74cee7ef8c1c5265daf01db13891ed68507f
fib: adj cover refinement check change

Usually the adj cover refinement check which ensures that for any
adj sourced prefix its cover is connected, is satified by the presence
of the interface source. The interface source has a high priority
hence during the adj refinement check get_flags() which uses the best
source, usually returns the flags for the interface source. However,
in the presence of higher priority sources that interpose get_flags does
not return connected and the check fails.
With this change add a specific check for the interface source if the
best is not connected.

Type: feature

Change-Id: Iabc3e29fe7c447fc3ef313e40b00d48fab09fba4
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/fib/fib_entry_src_adj.c