]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
Revert "tc: m_action: fix parsing of TCA_EXT_WARN_MSG"
authorHangbin Liu <liuhangbin@gmail.com>
Thu, 16 Mar 2023 03:52:41 +0000 (11:52 +0800)
committerStephen Hemminger <stephen@networkplumber.org>
Sun, 19 Mar 2023 02:18:36 +0000 (19:18 -0700)
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 <aclaudi@redhat.com>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tc/m_action.c

index 6c91af2ce0ad57255313d78d567ba5920b13090e..0400132ceff63480003b18ed52699d3b8d83d18a 100644 (file)
@@ -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;