diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2025-05-13 15:16:38 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-22 14:31:45 +0200 |
| commit | 0c3559a24e21345f2fc46a273cc0727895834c05 (patch) | |
| tree | 3ca35611b1bc16ee428a2d16ea7d8bb6cc7bfefa /Documentation | |
| parent | 0c847a7dcf14d2c5206c3fe09eaa3376e0800925 (diff) | |
| download | linux-0c3559a24e21345f2fc46a273cc0727895834c05.tar.gz linux-0c3559a24e21345f2fc46a273cc0727895834c05.tar.bz2 linux-0c3559a24e21345f2fc46a273cc0727895834c05.zip | |
netlink: specs: tc: all actions are indexed arrays
[ Upstream commit f3dd5fb2fa494dcbdb10f8d27f2deac8ef61a2fc ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/netlink/specs/tc.yaml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/netlink/specs/tc.yaml b/Documentation/netlink/specs/tc.yaml index 5e1ff04f51f2..953aa837958b 100644 --- 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 |
