]> Gentwo Git Trees - linux/.git/commitdiff
ynl: fix schema check errors
authorDonald Hunter <donald.hunter@gmail.com>
Thu, 27 Nov 2025 12:35:02 +0000 (12:35 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 29 Nov 2025 03:53:20 +0000 (19:53 -0800)
Fix two schema check errors that have lurked since the attribute name
validation was made more strict:

not ok 2 conntrack.yaml schema validation
'labels mask' does not match '^[0-9a-z-]+$'

not ok 13 nftables.yaml schema validation
'set id' does not match '^[0-9a-z-]+$'

Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20251127123502.89142-5-donald.hunter@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/conntrack.yaml
Documentation/netlink/specs/nftables.yaml

index bef528633b1735c5c3a10e73baf7e9d63deddc36..db7cddcda50afcfa32bbe14b6ac4a77a5ab03643 100644 (file)
@@ -457,7 +457,7 @@ attribute-sets:
         name: labels
         type: binary
       -
-        name: labels mask
+        name: labels-mask
         type: binary
       -
         name: synproxy
index cce88819ba71650cbdcf1f04a728d799d7aaa196..17ad707fa0d5dc57140ceacc0a8ee853042e8ceb 100644 (file)
@@ -915,7 +915,7 @@ attribute-sets:
         type: string
         doc: Name of set to use
       -
-        name: set id
+        name: set-id
         type: u32
         byte-order: big-endian
         doc: ID of set to use