Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport v3.7-branch] tests: net: Fix conn_mgr_monitor tests #86030

Merged
merged 3 commits into from
Mar 2, 2025

Conversation

zephyrbot
Copy link
Collaborator

@zephyrbot zephyrbot commented Feb 19, 2025

Backport 008a7ca~3..008a7ca from #85888.

Fixes #85816

Using L2 address of length 1 (invalid/unsupported one) confused IPv6
layer during LL address generation - since that length was not a valid
one, the address was not initialized properly and a part of it was set
semi-random. This could result for example in filling out the neighbor
tables.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
(cherry picked from commit 3089a5d)
DAD creates an entry in the neighbor cache for the queried (own)
address. In case the address is removed from the interface while DAD is
still incomplete, we need to remove the corresponding cache entry (just
like in case of DAD timeout) to avoid stale entries in the cache.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
(cherry picked from commit a09fd8e)
In rare occasions when sending DAD NS packet fails, we should still
setup the DAD timer, unless we implement some kind of more advanced
retry mechanism. If we don't do that, the IPv6 address added to the
interface will never be usable in such cases.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
(cherry picked from commit 008a7ca)
@zephyrbot zephyrbot added Backport Backport PR and backport failure issues area: Networking labels Feb 19, 2025
@fabiobaltieri fabiobaltieri added this to the v3.7.2 milestone Feb 20, 2025
@nashif nashif merged commit 7dcd584 into v3.7-branch Mar 2, 2025
29 of 30 checks passed
@nashif nashif deleted the backport-85888-to-v3.7-branch branch March 2, 2025 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking Backport Backport PR and backport failure issues
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

7 participants