Skip to content

Commit b98d7b7

Browse files
committed
Sync to 7.3-rc4
Upstream commit 26ee8cd69d46 (net: qualcomm: rmnet: require CAP_NET_ADMIN in the real device netns for config ops, 2026-09-15) Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent b192c8c commit b98d7b7

63 files changed

Lines changed: 6271 additions & 572 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/netlink/netlink-raw.yaml‎

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -176,20 +176,23 @@ properties:
176176
struct:
177177
description: Name of the nested struct type.
178178
type: string
179-
if:
180-
properties:
181-
type:
182-
const: pad
183-
then:
184-
required: [ len ]
185-
if:
186-
properties:
187-
type:
188-
const: binary
189-
then:
190-
oneOf:
191-
- required: [ len ]
192-
- required: [ struct ]
179+
allOf:
180+
-
181+
if:
182+
properties:
183+
type:
184+
const: pad
185+
then:
186+
required: [ len ]
187+
-
188+
if:
189+
properties:
190+
type:
191+
const: binary
192+
then:
193+
oneOf:
194+
- required: [ len ]
195+
- required: [ struct ]
193196
# End genetlink-legacy
194197

195198
attribute-sets:

‎Documentation/netlink/specs/conntrack.yaml‎

Lines changed: 54 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@ definitions:
7272
type: enum
7373
entries:
7474
- none
75-
- cloned
75+
- closed
7676
- cookie-wait
7777
- cookie-echoed
7878
- established
7979
- shutdown-sent
80-
- shutdown-received
80+
- shutdown-recd
8181
- shutdown-ack-sent
82-
- shutdown-heartbeat-sent
82+
- heartbeat-sent
8383
-
8484
name: nf-ct-status
8585
type: flags
@@ -116,9 +116,11 @@ attribute-sets:
116116
-
117117
name: packets-old
118118
type: u32
119+
doc: obsolete
119120
-
120121
name: bytes-old
121122
type: u32
123+
doc: obsolete
122124
-
123125
name: pad
124126
type: pad
@@ -292,6 +294,12 @@ attribute-sets:
292294
name: help-name
293295
type: string
294296
doc: helper name
297+
-
298+
name: help-info
299+
type: binary
300+
doc: >-
301+
Private data of a user space helper, only present for helpers
302+
registered via nfnetlink_cthelper with a non-zero data length.
295303
-
296304
name: nat-proto-attrs
297305
attributes:
@@ -314,16 +322,16 @@ attribute-sets:
314322
name: nat-v4-maxip
315323
type: u32
316324
byte-order: big-endian
325+
-
326+
name: nat-proto
327+
type: nest
328+
nested-attributes: nat-proto-attrs
317329
-
318330
name: nat-v6-minip
319331
type: binary
320332
-
321333
name: nat-v6-maxip
322334
type: binary
323-
-
324-
name: nat-proto
325-
type: nest
326-
nested-attributes: nat-proto-attrs
327335
-
328336
name: seqadj-attrs
329337
attributes:
@@ -345,6 +353,20 @@ attribute-sets:
345353
-
346354
name: secctx-name
347355
type: string
356+
-
357+
name: timestamp-attrs
358+
attributes:
359+
-
360+
name: start
361+
type: u64
362+
byte-order: big-endian
363+
-
364+
name: stop
365+
type: u64
366+
byte-order: big-endian
367+
-
368+
name: pad
369+
type: pad
348370
-
349371
name: synproxy-attrs
350372
attributes:
@@ -360,6 +382,17 @@ attribute-sets:
360382
name: tsoff
361383
type: u32
362384
byte-order: big-endian
385+
-
386+
name: filter-attrs
387+
attributes:
388+
-
389+
name: orig-flags
390+
type: u32
391+
doc: bitmask of tuple fields to filter on, original direction
392+
-
393+
name: reply-flags
394+
type: u32
395+
doc: bitmask of tuple fields to filter on, reply direction
363396
-
364397
name: conntrack-attrs
365398
attributes:
@@ -434,7 +467,7 @@ attribute-sets:
434467
nested-attributes: seqadj-attrs
435468
-
436469
name: secmark
437-
type: binary
470+
type: u32
438471
doc: obsolete
439472
-
440473
name: zone
@@ -447,8 +480,8 @@ attribute-sets:
447480
nested-attributes: secctx-attrs
448481
-
449482
name: timestamp
450-
type: u64
451-
byte-order: big-endian
483+
type: nest
484+
nested-attributes: timestamp-attrs
452485
-
453486
name: mark-mask
454487
type: u32
@@ -466,7 +499,7 @@ attribute-sets:
466499
-
467500
name: filter
468501
type: nest
469-
nested-attributes: tuple-attrs
502+
nested-attributes: filter-attrs
470503
-
471504
name: status-mask
472505
type: u32
@@ -499,7 +532,7 @@ attribute-sets:
499532
name: invalid
500533
type: u32
501534
byte-order: big-endian
502-
doc: obsolete
535+
doc: packets which could not be tracked
503536
-
504537
name: ignore
505538
type: u32
@@ -571,30 +604,32 @@ operations:
571604
- status
572605
- protoinfo
573606
- help
574-
- nat-src
575-
- nat-dst
576607
- timeout
577608
- mark
578609
- counters-orig
579610
- counters-reply
580611
- use
581612
- id
582-
- nat-dst
583613
- tuple-master
584614
- seq-adj-orig
585615
- seq-adj-reply
586616
- zone
587617
- secctx
618+
- timestamp
588619
- labels
589620
- synproxy
590621
dump:
591622
request:
592623
value: 0x101
593624
attributes:
594-
- mark
595-
- filter
625+
- tuple-orig
626+
- tuple-reply
596627
- status
628+
- mark
597629
- zone
630+
- mark-mask
631+
- filter
632+
- status-mask
598633
reply:
599634
value: 0x100
600635
attributes:
@@ -603,20 +638,18 @@ operations:
603638
- status
604639
- protoinfo
605640
- help
606-
- nat-src
607-
- nat-dst
608641
- timeout
609642
- mark
610643
- counters-orig
611644
- counters-reply
612645
- use
613646
- id
614-
- nat-dst
615647
- tuple-master
616648
- seq-adj-orig
617649
- seq-adj-reply
618650
- zone
619651
- secctx
652+
- timestamp
620653
- labels
621654
- synproxy
622655
-
@@ -630,8 +663,8 @@ operations:
630663
reply:
631664
value: 0x104
632665
attributes:
633-
- searched
634666
- found
667+
- invalid
635668
- insert
636669
- insert-failed
637670
- drop

‎Documentation/netlink/specs/devlink.yaml‎

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,10 @@ definitions:
234234
value: 10
235235
-
236236
name: binary
237+
-
238+
name: u64-array
239+
value: 129
240+
237241
-
238242
name: rate-tc-index-max
239243
type: const
@@ -891,6 +895,16 @@ attribute-sets:
891895
resource-dump response. Bit 0 (dev) selects device-level
892896
resources; bit 1 (port) selects port-level resources.
893897
When absent all classes are returned.
898+
-
899+
name: parent-dev
900+
type: nest
901+
nested-attributes: dl-parent-dev
902+
doc: |
903+
Identifies the devlink instance which owns the parent rate node.
904+
Used with rate-set and rate-new to parent a rate object to a node on
905+
a different devlink instance, enabling cross-device rate scheduling.
906+
When absent, the parent node is resolved on the same instance.
907+
894908
-
895909
name: dl-dev-stats
896910
subset-of: devlink
@@ -1313,6 +1327,16 @@ attribute-sets:
13131327
Specifies the bandwidth share assigned to the Traffic Class.
13141328
The bandwidth for the traffic class is determined
13151329
in proportion to the sum of the shares of all configured classes.
1330+
-
1331+
name: dl-parent-dev
1332+
subset-of: devlink
1333+
attributes:
1334+
-
1335+
name: bus-name
1336+
-
1337+
name: dev-name
1338+
-
1339+
name: index
13161340

13171341
operations:
13181342
enum-model: directional
@@ -2285,8 +2309,8 @@ operations:
22852309
dont-validate: [strict]
22862310
flags: [admin-perm]
22872311
do:
2288-
pre: devlink-nl-pre-doit
2289-
post: devlink-nl-post-doit
2312+
pre: devlink-nl-pre-doit-parent-dev-optional
2313+
post: devlink-nl-post-doit-parent-dev-optional
22902314
request:
22912315
attributes:
22922316
- bus-name
@@ -2299,6 +2323,7 @@ operations:
22992323
- rate-tx-weight
23002324
- rate-parent-node-name
23012325
- rate-tc-bws
2326+
- parent-dev
23022327

23032328
-
23042329
name: rate-new
@@ -2307,8 +2332,8 @@ operations:
23072332
dont-validate: [strict]
23082333
flags: [admin-perm]
23092334
do:
2310-
pre: devlink-nl-pre-doit
2311-
post: devlink-nl-post-doit
2335+
pre: devlink-nl-pre-doit-parent-dev-optional
2336+
post: devlink-nl-post-doit-parent-dev-optional
23122337
request:
23132338
attributes:
23142339
- bus-name
@@ -2321,6 +2346,7 @@ operations:
23212346
- rate-tx-weight
23222347
- rate-parent-node-name
23232348
- rate-tc-bws
2349+
- parent-dev
23242350

23252351
-
23262352
name: rate-del

0 commit comments

Comments
 (0)