git: 4aff0bc1f98f - main - nd6: Keep addresses tentative in in6_if_up

From: Pouria Mousavizadeh Tehrani <pouria_at_FreeBSD.org>
Date: Thu, 26 Nov 2026 05:33:05 UTC
The branch main has been updated by pouria:

URL: https://cgit.FreeBSD.org/src/commit/?id=4aff0bc1f98f4ceee838982f72806e356f1d90de

commit 4aff0bc1f98f4ceee838982f72806e356f1d90de
Author:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
AuthorDate: 2026-11-26 05:25:04 +0000
Commit:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
CommitDate: 2026-11-26 05:25:04 +0000

    nd6: Keep addresses tentative in in6_if_up
    
    in6_if_up() runs from the IFNET_EVENT_UP handler on every
    IFF_UP 0->1 transition, whether or not the interface is ifdisabled.
    Ignore state transitions in in6_if_up() for now.
    
    Reported by:    llm-postcr
    Fixes:          f0ce2ae67f9f ("nd6: Do not make SLAAC addresses usable with ifdisabled")
---
 sys/netinet6/in6.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c
index c7ede610d6d5..878ac7ec2e4b 100644
--- a/sys/netinet6/in6.c
+++ b/sys/netinet6/in6.c
@@ -2125,7 +2125,6 @@ in6_if_up(struct ifnet *ifp)
 			 * We may be able to skip the random delay in this
 			 * case, but we impose delays just in case.
 			 */
-			in6_ifa_need_dad(ia);
 			nd6_dad_start(ifa,
 			    arc4random() % (MAX_RTR_SOLICITATION_DELAY * hz));
 		}