netdev-bot+sashiko@kernel.org writes:
quoted
diff --git a/Documentation/netlink/specs/rt-neigh.yaml b/Documentation/netlink/specs/rt-neigh.yaml
index 7929e667cc7a6..4dd4e3d997f09 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
[Severity: Medium]
The commit message says:
"The kernel accepts more attributes in an RTM_DELNEIGH request than the
spec lists."
Should port, vni, src-vni and nh-id be added to this list too? This
patch covers what the bridge driver reads. The VXLAN driver, which
RTM_DELNEIGH also reaches, reads four more attributes from the delete
request.
I don't need those attributes, so I didn't add them. Usually unnecessary
interfaces are not added.
rt-neigh is built by the C YNL code generator. Without these four
attributes in the list, the generated delneigh request has no fields
for them. That means a C YNL user can't build any of these requests:
The first C YNL user can add the attributes they are missing.