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

Aaron LI aly at crater.dragonflybsd.org
Mon Oct 19 20:33:43 PDT 2026


commit 7cc2aa3d5a7459e5486d200fa4212d832dc67ba6
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/7cc2aa3d5a7459e5486d200fa4212d832dc67ba6


-- 
DragonFly BSD source repository


More information about the Commits mailing list