# \[PATCH net-next v3 10/13\] netlink: specs: rt-neigh: Extend the delneigh request attributes

- From: Petr Machata \<petrm@nvidia.com\>
- Date: 2026-12-04 12:45:34 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/12/18088329
- Thread: https://ratatoskr.run/netdev/2026/12/18088319/t.md

```text
The kernel accepts more attributes in an RTM_DELNEIGH request than the
spec lists. FDB deletion identifies the entry by NDA_LLADDR and NDA_VLAN,
and bulk deletion (NLM_F_BULK) filters entries by NDA_NDM_STATE_MASK and
NDA_NDM_FLAGS_MASK.

Add lladdr, vlan, ndm-state-mask and ndm-flags-mask to the request
attributes of delneigh, so that these requests can be built through YNL.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Acked-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
---
CC: David Ahern <dsahern@kernel.org>
CC: Donald Hunter <donald.hunter@gmail.com>

 Documentation/netlink/specs/rt-neigh.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/netlink/specs/rt-neigh.yaml b/Documentation/netlink/specs/rt-neigh.yaml
index 7929e667cc7a..4dd4e3d997f0 100644
--- a/Documentation/netlink/specs/rt-neigh.yaml
+++ b/Documentation/netlink/specs/rt-neigh.yaml
@@ -380,7 +380,11 @@ operations:
           value: 29
           attributes:
             - dst
+            - lladdr
+            - vlan
             - ifindex
+            - ndm-state-mask
+            - ndm-flags-mask
     -
       name: delneigh-ntf
       doc: Notify a neighbour deletion
-- 
2.56.1

```
