Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VRF state not deleted in DelPeer walk.
Problem statement remains same as in this commit: 8e302fc However above commit does not solve the issue. Reason being, walk count was being incremented on enqueue of walk but when walk is processed it calls Cancel for any previously started walk. This Cancel decrements the walk count. This defeats the purpose of moving walk count increment to enqueue in above commit. Also consider a walk for VRF where there are four route tables. This should result in walk count to be 5 (1 for vrf table + 4 for route tables). With above fix this will be 2 (1 for Vrf + 1 for route table). It didnt take into consideration that route walk count needs to be incremented for each route table. Solution: Use a seperate enqueue walk count and restore the walk_count as it was before the above commit. Use both of them to check for walk done. Closes-bug: 1455862 Change-Id: I8d96732375f649e70d6754cb6c5b34c24867ce0c
- Loading branch information
1 parent
f514603
commit 7051658
Showing
3 changed files
with
45 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters