Skip to content

Commit 41986ae

Browse files
author
Stanislav Fomichev
committed
sync to upstream net-next as of v7.0-rc3
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
1 parent 0dbea11 commit 41986ae

37 files changed

Lines changed: 1266 additions & 106 deletions

Documentation/netlink/genetlink-c.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ properties:
227227
Optional format indicator that is intended only for choosing
228228
the right formatting mechanism when displaying values of this
229229
type.
230-
enum: [ hex, mac, fddi, ipv4, ipv6, uuid ]
230+
enum: [ hex, mac, fddi, ipv4, ipv6, ipv4-or-v6, uuid ]
231231
# Start genetlink-c
232232
name-prefix:
233233
type: string

Documentation/netlink/genetlink.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ properties:
185185
Optional format indicator that is intended only for choosing
186186
the right formatting mechanism when displaying values of this
187187
type.
188-
enum: [ hex, mac, fddi, ipv4, ipv6, uuid ]
188+
enum: [ hex, mac, fddi, ipv4, ipv6, ipv4-or-v6, uuid ]
189189

190190
# Make sure name-prefix does not appear in subsets (subsets inherit naming)
191191
dependencies:
@@ -262,7 +262,7 @@ properties:
262262
description: Command flags.
263263
type: array
264264
items:
265-
enum: [ admin-perm ]
265+
enum: [ admin-perm, uns-admin-perm ]
266266
dont-validate:
267267
description: Kernel attribute validation flags.
268268
type: array

Documentation/netlink/netlink-raw.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ $defs:
1919
type: [ string, integer ]
2020
pattern: ^[0-9A-Za-z_-]+( - 1)?$
2121
minimum: 0
22+
len-or-limit:
23+
# literal int, const name, or limit based on fixed-width type
24+
# e.g. u8-min, u16-max, etc.
25+
type: [ string, integer ]
26+
pattern: ^[0-9A-Za-z_-]+$
27+
minimum: 0
2228

2329
# Schema for specs
2430
title: Protocol
@@ -157,7 +163,7 @@ properties:
157163
Optional format indicator that is intended only for choosing
158164
the right formatting mechanism when displaying values of this
159165
type.
160-
enum: [ hex, mac, fddi, ipv4, ipv6, uuid ]
166+
enum: [ hex, mac, fddi, ipv4, ipv6, ipv4-or-v6, uuid ]
161167
struct:
162168
description: Name of the nested struct type.
163169
type: string
@@ -270,7 +276,10 @@ properties:
270276
type: string
271277
min:
272278
description: Min value for an integer attribute.
273-
type: integer
279+
$ref: '#/$defs/len-or-limit'
280+
max:
281+
description: Max value for an integer attribute.
282+
$ref: '#/$defs/len-or-limit'
274283
min-len:
275284
description: Min length for a binary attribute.
276285
$ref: '#/$defs/len-or-define'

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

0 commit comments

Comments
 (0)