[DragonFlyBSD - Bug #3436] (New) ndp -d can delete a covering route

sigttou bugtracker-admin at leaf.dragonflybsd.org
Sun Oct 4 06:35:20 PDT 2026


Issue #3436 has been reported by sigttou.

----------------------------------------
Bug #3436: ndp -d can delete a covering route
http://bugs.dragonflybsd.org/issues/3436

* Author: sigttou
* Status: New
* Priority: Normal
* Category: PF
* Target version: 6.6
* Start date: 2026-10-04
----------------------------------------
If a neighbor is absent, `RTM_GET` can return its covering prefix route.
`ndp -d` then deletes that route and exits successfully.

For example, with `fe80::%tap0/64` installed and no neighbor at the address:

<pre><code class="shell">
ndp -d fe80::1234%tap0
</code></pre>


This removes the prefix route.

The patch requires the returned address to match the requested address and
requires an AF_LINK, RTF_LLINFO route without RTF_GATEWAY. It also propagates
routing-socket write, read and reply errors, and returns a non-zero exit status
when deletion fails.


---Files--------------------------------
0001-ndp-avoid-deleting-covering-routes-and-report-socket.patch (3.13 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Bugs mailing list