From 46961c2ff5619b7149fd458397170cb798ed1d12 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 23 Jan 2020 10:44:46 +0100 Subject: 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 --- sys/linux/socket_netlink_route_sched.txt | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'sys/linux/socket_netlink_route_sched.txt') 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] -- cgit mrf-deployment