You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SHARMAN-4397 : Implement IPv6 DAD recovery mechanism and enhance addr… - #233
This reset covers only DHCP Manager lease updates. The legacy wanmgr_handle_dhcpv6_event_data() and SLAAC netlink handler install replacement addresses without clearing the flag, and WanManager_ClearDHCPData() leaves it set during teardown. After one unsuccessful recovery, another failing address can therefore skip both recovery stages. Reset the guard at genuine new-lease/address and connection-reset boundaries in those paths as well; do not reset it merely for notifications generated by recovery itself.
Preserve IPv6 address lifetimes during DAD recovery
source/WanManager/wanmgr_interface_sm.c:1130
Re-adding the address without valid_lft and preferred_lft defaults both lifetimes to forever. If the installed DHCPv6 address has finite lifetimes, recovery removes its kernel expiration and deprecation deadlines. Capture the remaining lifetimes before deletion and preserve those deadlines when re-adding the address, rather than making it permanent.
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 freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
5 participants
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.
…ess event logging