projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9fb87b
)
netlink: specs: tc: all actions are indexed arrays
author
Jakub Kicinski
<kuba@kernel.org>
Tue, 13 May 2025 22:16:38 +0000
(15:16 -0700)
committer
Jakub Kicinski
<kuba@kernel.org>
Thu, 15 May 2025 02:11:15 +0000
(19:11 -0700)
Some TC filters have actions listed as indexed arrays of nests
and some as just nests. They are all indexed arrays, the handling
is common across filters.
Fixes:
2267672a6190
("doc/netlink/specs: Update the tc spec")
Link:
https://patch.msgid.link/20250513221638.842532-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/tc.yaml
patch
|
blob
|
blame
|
history
diff --git
a/Documentation/netlink/specs/tc.yaml
b/Documentation/netlink/specs/tc.yaml
index 5e1ff04f51f26798fef670796746ee0b4dab73f7..953aa837958b3f18284b679e5c384d8d81865095 100644
(file)
--- a/
Documentation/netlink/specs/tc.yaml
+++ b/
Documentation/netlink/specs/tc.yaml
@@
-2017,7
+2017,8
@@
attribute-sets:
attributes:
-
name: act
- type: nest
+ type: indexed-array
+ sub-type: nest
nested-attributes: tc-act-attrs
-
name: police
@@
-2250,7
+2251,8
@@
attribute-sets:
attributes:
-
name: act
- type: nest
+ type: indexed-array
+ sub-type: nest
nested-attributes: tc-act-attrs
-
name: police