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

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


commit 3300033657d637490b0382e93be969da1b27024d
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/3300033657d637490b0382e93be969da1b27024d


-- 
DragonFly BSD source repository


More information about the Commits mailing list