aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_netlink_route_sched.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-01-23 10:44:46 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-01-23 15:05:19 +0100
commit46961c2ff5619b7149fd458397170cb798ed1d12 (patch)
treeee93cb059e842028a86a0ff4e71bcb2a2a843ef0 /sys/linux/socket_netlink_route_sched.txt
parent190662322eed61b24ec63830a4272265c138f30e (diff)
sys/linux: fix more netlink warnings
Handle NLA_BITFIELD32. Match string attribtues better. Calculate and check min size for varlen structs. Fix NLA_UNSPEC size check. Fix some things in descriptions. Update #590
Diffstat (limited to 'sys/linux/socket_netlink_route_sched.txt')
-rw-r--r--sys/linux/socket_netlink_route_sched.txt11
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/linux/socket_netlink_route_sched.txt b/sys/linux/socket_netlink_route_sched.txt
index 5b70db401..08fc84220 100644
--- a/sys/linux/socket_netlink_route_sched.txt
+++ b/sys/linux/socket_netlink_route_sched.txt
@@ -898,7 +898,7 @@ tc_u32_sel {
off int16
offoff int16
hoff int16
- hmast int32be
+ hmask int32be
keys array[tc_u32_key, 0:128]
}
@@ -1099,10 +1099,12 @@ tcf_action_policy_kind_index [
] [varlen]
tcaa_policy [
- TCA_ROOT_FLAGS nlattr[TCA_ROOT_FLAGS, nla_bitfield32]
+ TCA_ROOT_FLAGS nlattr[TCA_ROOT_FLAGS, nla_bitfield32[tcaa_policy_root_flags]]
TCA_ROOT_TIME_DELTA nlattr[TCA_ROOT_TIME_DELTA, int32]
] [varlen]
+tcaa_policy_root_flags = TCA_FLAG_LARGE_DUMP_ON
+
action_dump_policy [
action_gd action_gd_policy
action_dump_flags tcaa_policy
@@ -1123,11 +1125,6 @@ tc_connmark {
zone int16
}
-nla_bitfield32 {
- value int32[0:1]
- selector int32[0:1]
-}
-
tc_csum {
tc_gen tc_gen
update_flags int32[0:128]