Skip to content

table: skip rejected paths when building Drop withdrawals - #3536

Open
locker95 wants to merge 2 commits into
osrg:masterfrom
locker95:fix/adj-drop-skip-rejected
Open

table: skip rejected paths when building Drop withdrawals#3536
locker95 wants to merge 2 commits into
osrg:masterfrom
locker95:fix/adj-drop-skip-rejected

Conversation

@locker95

Copy link
Copy Markdown

When a peer flaps, AdjRib.Drop() was cloning every adj-RIB-In path into a withdrawal list, including ones marked IsRejected (e.g. AS-loop rejects that never made it into the local RIB). Downstream withdraw processing then logs "No matching path for withdraw" for each of those.

Skip rejected paths when building the withdrawal list. The adj table is still cleared for the families being dropped.

Fixes #3455

Rejected adj-RIB-In paths were never installed in the local RIB, so
emitting withdrawals for them produces "No matching path for withdraw"
noise on peer flaps. Clear them from adj state still, but only return
withdrawals for paths that had been accepted.

Fixes osrg#3455

Signed-off-by: Dean Chen <862469039@qq.com>
Signed-off-by: Dean Chen <862469039@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop() in adj-RIB-In creates withdrawals for rejected paths, causing spurious "No matching path for withdraw" warnings

1 participant