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

From
Petr Machata <petrm@nvidia.com>
Date
2026-11-30 13:05:45
Also in
bridge
Reply to
Petr Machata, 2026-11-30
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>
---
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
Thread (25 messages) 25 messages, 3 authors, last reply 1d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help