fib: Don't back walk from a path-list when a child fist attaches. 00/34200/2
authorNeale Ranns <neale@graphiant.com>
Thu, 21 Oct 2021 12:02:53 +0000 (12:02 +0000)
committerBeno�t Ganne <bganne@cisco.com>
Fri, 22 Oct 2021 07:49:52 +0000 (07:49 +0000)
commit397228d8be382e800235b7501ab378b2292d18eb
tree1843d69528bc138f173ddfae9e2770847d22cb3b
parent8e2b1b129815d3e631aa425ed37899c78ea24e65
fib: Don't back walk from a path-list when a child fist attaches.

Type: fix

If the walk is triggered when the child is added, then that child is visited in the walk. However, since it is just attahcing to the path-list it may not, or indeed cannot, have all the context it needs to successfully handle the walk.
In the case of MPLS tunnel, it does not have the path extensions ready, and cannot since the path extensions need to resolve on the path-list.

Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: I027af8cf2f522d2f6e37931bea60c767f0cb667d
src/vnet/fib/fib_path_list.c
test/test_mpls.py