Skip to content

Commit 1adc241

Browse files
donaldhkuba-moo
authored andcommitted
ynl: fix schema check errors
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>
1 parent acce9d7 commit 1adc241

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Documentation/netlink/specs/conntrack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ attribute-sets:
457457
name: labels
458458
type: binary
459459
-
460-
name: labels mask
460+
name: labels-mask
461461
type: binary
462462
-
463463
name: synproxy

Documentation/netlink/specs/nftables.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ attribute-sets:
915915
type: string
916916
doc: Name of set to use
917917
-
918-
name: set id
918+
name: set-id
919919
type: u32
920920
byte-order: big-endian
921921
doc: ID of set to use

0 commit comments

Comments
 (0)