git: DragonFly_RELEASE_6_4 ndp(8): avoid deleting covering routes and report socket errors

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


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

    ndp(8): avoid deleting covering routes and report socket errors
    
    RTM_GET can return a covering route for an absent neighbor. Require the
    requested address and an NDP route before deletion. Return failure for
    routing-socket write, read and reply errors, and pass deletion failure
    to the exit status.
    
    Bug: https://bugs.dragonflybsd.org/issues/3436

Summary of changes:
 usr.sbin/ndp/ndp.c | 71 +++++++++++++++++++++++++++++++++---------------------
 1 file changed, 44 insertions(+), 27 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list