git: DragonFly_RELEASE_6_4 nd6: keep foreign-CPU neighbors off the timer and purge list

Aaron LI aly at crater.dragonflybsd.org
Thu Nov 12 23:21:41 PST 2026


commit da353569c8f6f928e8812254560ab2643f8b3f08
Author: David Bidner <david at crap.solutions>
Date:   Sun Oct 4 14:54:38 2026 +0200

    nd6: keep foreign-CPU neighbors off the timer and purge list
    
    Route requests create neighbor entries on each network CPU, but timers
    and purge run on CPU 0. Purging a foreign-CPU entry deletes the matching
    local route and can follow its freed neighbor entry. Link only CPU 0
    entries into the list and unlink only linked entries; keep other CPUs
    route-local neighbor data.
    
    Bug: https://bugs.dragonflybsd.org/issues/3439

Summary of changes:
 sys/netinet6/nd6.c | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/da353569c8f6f928e8812254560ab2643f8b3f08


-- 
DragonFly BSD source repository


More information about the Commits mailing list