add VPP patch to preserve interface self LL receive DPO#914
Merged
Conversation
Nodes can lose the local IPv6 link-local receive route (dpo-receive) from the ip6-ll FIB, which breaks all link-local control traffic (DHCPv6, NDP) to the interface's own address until the link-local /128 is manually re-added. Root cause in VPP: - ip6_link installs the interface LL /128 as local (FIB_ROUTE_PATH_LOCAL) in the ip6-ll table. - ip_neighbor and teib can also update/delete LL /128 entries as non-local adjacency paths (FIB_ROUTE_PATH_FLAG_NONE). - All such operations share FIB_SOURCE_IP6_ND in the same LL FIB. - A self-LL entry (same peer IP as interface's own LL on same sw_if) can overwrite local receive semantics; later age-out/ delete operations can remove the /128 entirely. The patch detects self-link-local in ip_neighbor/teib, skips non-local LL add/remove for self entries, and restores local LL route as safeguard. Signed-off-by: Aritra Basu <aritrbas@cisco.com>
2c0af44 to
6ef247e
Compare
sknat
approved these changes
Feb 26, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nodes can lose the local IPv6 link-local receive route (
dpo-receive) from the ip6-ll FIB, which breaks all link-local control traffic (DHCPv6, NDP) to the interface's own address until the link-local/128is manually re-added usingset int ip addr <intf> fe80::<addr>/128Root cause in VPP:
ip6_linkinstalls the interface LL/128as local (FIB_ROUTE_PATH_LOCAL) in the ip6-ll table./128entries as non-local adjacency paths (FIB_ROUTE_PATH_FLAG_NONE).FIB_SOURCE_IP6_NDin the same LL FIB.sw_if) can overwrite local receive semantics; later age-out/ delete operations can remove the/128entirely.The patch detects self-link-local in ip_neighbor/teib, skips non-local LL add/remove for self-entries, and restores local LL route as safeguard.