HomeFreeBSD

ndp tests: Fix an assertion in ndp_prefix_lifetime_extend

Description

ndp tests: Fix an assertion in ndp_prefix_lifetime_extend

Here we have two interface addresses sharing a v6 prefix with finite
lifetime. The intent was to make sure that adding the second address
didn't cause the prefix's valid lifetime to drop from 20s to 10s, but of
course, while the test is running it may drop from 20s to 19s, causing
the test to fail spuriously. Relax the check a bit to avoid this.

PR: 293152
Fixes: 74999aac5eff ("in6: Modify address prefix lifetimes when updating address lifetimes")
MFC after: 1 week
Sponsored by: Klara, Inc.

Details

Provenance
markjAuthored on Feb 17 2026, 5:08 PM
Parents
rGafd64316c869: dtrace: Implement ustackdepth for arm64
Branches
Unknown
Tags
Unknown