]> www.infradead.org Git - users/hch/misc.git/commit
netlink: specs: rt_addr: fix the spec format / schema failures
authorJakub Kicinski <kuba@kernel.org>
Thu, 3 Apr 2025 01:37:03 +0000 (18:37 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 4 Apr 2025 14:36:05 +0000 (07:36 -0700)
commit0802c32d4b03a26604c2db2c8a63b34a80361305
tree3585d0f55d4cfd1236d6520c4f4ef9cd101eb995
parentd84366bc5b1b8171f1ec9bba94c491be1c57d336
netlink: specs: rt_addr: fix the spec format / schema failures

The spec is mis-formatted, schema validation says:

  Failed validating 'type' in schema['properties']['operations']['properties']['list']['items']['properties']['dump']['properties']['request']['properties']['value']:
    {'minimum': 0, 'type': 'integer'}

  On instance['operations']['list'][3]['dump']['request']['value']:
    '58 - ifa-family'

The ifa-family clearly wants to be part of an attribute list.

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Reviewed-by: Yuyang Huang <yuyanghuang@google.com>
Fixes: 4f280376e531 ("selftests/net: Add selftest for IPv4 RTM_GETMULTICAST support")
Link: https://patch.msgid.link/20250403013706.2828322-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/rt_addr.yaml