From: Hangbin Liu Date: Thu, 16 Mar 2023 03:52:41 +0000 (+0800) Subject: Revert "tc: m_action: fix parsing of TCA_EXT_WARN_MSG" X-Git-Tag: v6.3.0~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0012881f3499dc9eb9e48e607ea7dd00fbe4edc2;p=thirdparty%2Fiproute2.git Revert "tc: m_action: fix parsing of TCA_EXT_WARN_MSG" This reverts commit 70b9ebae63ce7e6f9911bdfbcf47a6d18f24159a. The TCA_EXT_WARN_MSG is not sit within the TCA_ACT_TAB hierarchy. It's belong to the TCA_MAX namespace. I will fix the issue in another patch. Reviewed-by: Andrea Claudi Signed-off-by: Hangbin Liu Signed-off-by: Stephen Hemminger --- diff --git a/tc/m_action.c b/tc/m_action.c index 6c91af2ce..0400132ce 100644 --- a/tc/m_action.c +++ b/tc/m_action.c @@ -586,7 +586,7 @@ int print_action(struct nlmsghdr *n, void *arg) open_json_object(NULL); tc_dump_action(fp, tb[TCA_ACT_TAB], tot_acts ? *tot_acts:0, false); - print_ext_msg(&tb[TCA_ACT_TAB]); + print_ext_msg(tb); close_json_object(); return 0;