diff options
author | Dmitry V. Levin <ldv@strace.io> | 2023-04-25 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-04-28 08:00:00 +0000 |
commit | 0e5be5cdc79cae5dc6d1b85076917b9177cde3f3 (patch) | |
tree | f6d4b012d3cf9a77f5b4eb1129825e6f5f2873b7 | |
parent | 81fa6d45b3c86115440f490f43e0e5bbbb104c9a (diff) | |
download | strace-0e5be5cdc79cae5dc6d1b85076917b9177cde3f3.tar.gz |
xlat: update TCA_* constants
* src/xlat/rtnl_tc_attrs.in (TCA_EXT_WARN_MSG): New constant introduced
by Linux kernel commit v6.3-rc1~162^2~279.
* src/rtnl_tc.c (tcmsg_nla_decoders): Add TCA_EXT_WARN_MSG.
* NEWS: Mention this.
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | src/rtnl_tc.c | 1 | ||||
-rw-r--r-- | src/xlat/rtnl_tc_attrs.in | 1 |
3 files changed, 5 insertions, 3 deletions
@@ -8,9 +8,9 @@ Noteworthy changes in release ?.? (????-??-??) after capturing the specified number of syscalls. * Implemented decoding of IFLA_BRPORT_MCAST_N_GROUPS, IFLA_BRPORT_MCAST_MAX_GROUPS, IFLA_GSO_IPV4_MAX_SIZE, - and IFLA_GRO_IPV4_MAX_SIZE netlink attributes. - * Updated lists of F_SEAL_*, IFLA_*, IORING_*, IP_*, MFD_*, NFT_*, and PR_* - constants. + IFLA_GRO_IPV4_MAX_SIZE, and TCA_EXT_WARN_MSG netlink attributes. + * Updated lists of F_SEAL_*, IFLA_*, IORING_*, IP_*, MFD_*, NFT_*, PR_*, + and TCA_* constants. * Updated lists of ioctl commands from Linux 6.3. Noteworthy changes in release 6.2 (2023-02-26) diff --git a/src/rtnl_tc.c b/src/rtnl_tc.c index 332931a94..e36c090c1 100644 --- a/src/rtnl_tc.c +++ b/src/rtnl_tc.c @@ -286,6 +286,7 @@ static const nla_decoder_t tcmsg_nla_decoders[] = { [TCA_INGRESS_BLOCK] = decode_nla_u32, [TCA_EGRESS_BLOCK] = decode_nla_u32, [TCA_DUMP_FLAGS] = decode_nla_u32, + [TCA_EXT_WARN_MSG] = decode_nla_str, }; DECL_NETLINK_ROUTE_DECODER(decode_tcmsg) diff --git a/src/xlat/rtnl_tc_attrs.in b/src/xlat/rtnl_tc_attrs.in index fba3d0a61..abba584de 100644 --- a/src/xlat/rtnl_tc_attrs.in +++ b/src/xlat/rtnl_tc_attrs.in @@ -16,3 +16,4 @@ TCA_HW_OFFLOAD TCA_INGRESS_BLOCK TCA_EGRESS_BLOCK TCA_DUMP_FLAGS +TCA_EXT_WARN_MSG |