From 3ef1efa2d1b958333f08db99c46d1e7f1c7219ef Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sat, 5 Jan 2019 21:14:42 +0000 Subject: [PATCH] xlat: update IFLA_* constants * xlat/rtnl_ifla_info_data_bridge_attrs.in (IFLA_BR_MULTI_BOOLOPT): New constant introduced by Linux kernel commit v5.0-rc1~129^2~207^2~2. * NEWS: Mention this. * tests/nlattr_ifla_linkinfo.c (main): Update. --- NEWS | 4 ++-- tests/nlattr_ifla_linkinfo.c | 2 +- xlat/rtnl_ifla_info_data_bridge_attrs.in | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 6f62d7bf..f2e1f8c7 100644 --- a/NEWS +++ b/NEWS @@ -2,8 +2,8 @@ Noteworthy changes in release ?.?? (????-??-??) =============================================== * Improvements - * Updated lists of BPF_*, BTRFS_*, KERN_*, KVM_CAP_*, NDA_*, NETNSA_*, NT_*, - PR_*, SECCOMP_*, V4L2_*, and *_MAGIC constants. + * Updated lists of BPF_*, BTRFS_*, IFLA_*, KERN_*, KVM_CAP_*, NDA_*, + NETNSA_*, NT_*, PR_*, SECCOMP_*, V4L2_*, and *_MAGIC constants. * Bug fixes * Fixed strace-k test on alpha. diff --git a/tests/nlattr_ifla_linkinfo.c b/tests/nlattr_ifla_linkinfo.c index 56aad584..a51392ab 100644 --- a/tests/nlattr_ifla_linkinfo.c +++ b/tests/nlattr_ifla_linkinfo.c @@ -350,7 +350,7 @@ main(void) { 20, "IFLA_BR_GROUP_ADDR" }, { 21, "IFLA_BR_FDB_FLUSH" }, { 40, "IFLA_BR_PAD" }, - { 46, "0x2e /* IFLA_BR_??? */" }, + { 47, "0x2f /* IFLA_BR_??? */" }, }; for (size_t k = 0; k < ARRAY_SIZE(und_br_attrs); k++) { diff --git a/xlat/rtnl_ifla_info_data_bridge_attrs.in b/xlat/rtnl_ifla_info_data_bridge_attrs.in index 8446100a..87988471 100644 --- a/xlat/rtnl_ifla_info_data_bridge_attrs.in +++ b/xlat/rtnl_ifla_info_data_bridge_attrs.in @@ -45,3 +45,4 @@ IFLA_BR_MCAST_STATS_ENABLED 42 IFLA_BR_MCAST_IGMP_VERSION 43 IFLA_BR_MCAST_MLD_VERSION 44 IFLA_BR_VLAN_STATS_PER_PORT 45 +IFLA_BR_MULTI_BOOLOPT 46 -- 2.40.0