Commit f3dd5fb2 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

netlink: specs: tc: all actions are indexed arrays

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: 2267672a ("doc/netlink/specs: Update the tc spec")
Link: https://patch.msgid.link/20250513221638.842532-1-kuba@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent a9fb87b8
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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