RIOT icon indicating copy to clipboard operation
RIOT copied to clipboard

gnrc/ipv6_auto_subnets: don't remove unrelated prefixes

Open benpicco opened this issue 11 months ago • 2 comments

Contribution description

The search for the previous prefix code (if the prefix changes) was a bit too aggressive and removed unrelated prefixes that were added manually.

Limit this by introducing a tunable to set the maximal difference between two prefixes so that they are considered related and can be removed.

Testing procedure

Issues/PRs references

benpicco avatar Feb 14 '25 14:02 benpicco

Murdock results

:heavy_check_mark: PASSED

70b2547f5e096297906a804837afd52b913236ca gnrc/ipv6_auto_subnets: don't remove unrelated prefixes

Success Failures Total Runtime
10280 0 10280 09m:07s

Artifacts

riot-ci avatar Apr 03 '25 10:04 riot-ci

Instead of that the receiver has to purge an old prefix, could the originator of the prefix declare it as invalid by setting the valid lifetime to 0 in a PIO?

fabian18 avatar Apr 08 '25 12:04 fabian18