aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_netlink_generic_team.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-01-22 17:18:38 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-01-22 18:31:19 +0100
commit2bdcee05b50579be92a767376eaf874c0c70233c (patch)
tree73d2a134e08e0800790cecf0e39c944653ca5a8f /sys/linux/socket_netlink_generic_team.txt
parente4c56f390e76bddfd2911006d7036e2970b3f5d1 (diff)
sys/linux: mark all nested netlink attributes as nlnest
As far as I understand most subsystems don't care about the nest flag, but some do. But marking them as nest won't harm (?). Let's mark all of them. Caught several cases where should have been used array[policy] but used just policy. Update #590
Diffstat (limited to 'sys/linux/socket_netlink_generic_team.txt')
-rw-r--r--sys/linux/socket_netlink_generic_team.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/linux/socket_netlink_generic_team.txt b/sys/linux/socket_netlink_generic_team.txt
index d0f8c8699..d671af833 100644
--- a/sys/linux/socket_netlink_generic_team.txt
+++ b/sys/linux/socket_netlink_generic_team.txt
@@ -23,7 +23,7 @@ sendmsg$TEAM_CMD_PORT_LIST_GET(fd sock_nl_generic, msg ptr[in, msghdr_nl_team[TE
team_nl_policy {
TEAM_ATTR_TEAM_IFINDEX nlattr[TEAM_ATTR_TEAM_IFINDEX, ifindex_team]
- TEAM_ATTR_LIST_OPTION nlattr[TEAM_ATTR_LIST_OPTION, array[nlattr[TEAM_ATTR_ITEM_OPTION, team_attr_option]]]
+ TEAM_ATTR_LIST_OPTION nlnest[TEAM_ATTR_LIST_OPTION, array[nlattr[TEAM_ATTR_ITEM_OPTION, team_attr_option]]]
} [packed, align_4]
type team_nl_option_policy[NAME, TYPE, DATA] {