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:29:42 +0200 |
commit | 38a2fdd3e9c9730db1d394771b3c0015357ab535 (patch) | |
tree | fe99185cd77a840c9c0f7295c490132a3767b359 | |
parent | be64ab9c173f41aa84e6b8d76dbda95fe1d8bd24 (diff) |
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>
-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 a5bde25c89e5..c5579a5412fc 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 |