]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
netlink: specs: rt-neigh: make sure getneigh is consistent
authorJakub Kicinski <kuba@kernel.org>
Fri, 18 Apr 2025 02:17:04 +0000 (19:17 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Apr 2025 23:07:16 +0000 (16:07 -0700)
The consistency check complains replies to do and dump don't match
because dump has no value. It doesn't have to by the schema... but
fixing this in code gen would be more code than adjusting the spec.
This is rare.

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250418021706.1967583-11-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/rt-neigh.yaml

index 9b87efaafd15ec9bf1d66fc0289c7c49850e12ef..fe34ade6b300bf8e50fee1be0628a03bf251806a 100644 (file)
@@ -402,6 +402,7 @@ operations:
             - ifindex
             - master
         reply:
+          value: 28
           attributes: *neighbour-all
     -
       name: newneigh-ntf