]> git.ipfire.org Git - thirdparty/iproute2.git/commit
tc: m_action: fix parsing of TCA_EXT_WARN_MSG by using different enum
authorHangbin Liu <liuhangbin@gmail.com>
Thu, 16 Mar 2023 03:52:42 +0000 (11:52 +0800)
committerStephen Hemminger <stephen@networkplumber.org>
Sun, 19 Mar 2023 02:20:02 +0000 (19:20 -0700)
commit73d294dfe63f2fadd52faa39c0079b44bfbe24ed
treecbfa508d8ee092bad5d4c7df854ff5f628c88f3f
parent0012881f3499dc9eb9e48e607ea7dd00fbe4edc2
tc: m_action: fix parsing of TCA_EXT_WARN_MSG by using different enum

We can't use TCA_EXT_WARN_MSG directly in tc action as it's using different
enum with filter. Let's use a new TCA_ROOT_EXT_WARN_MSG for tc action
specifically.

Fixes: 6035995665b7 ("tc: add new attr TCA_EXT_WARN_MSG")
Reviewed-by: Andrea Claudi <aclaudi@redhat.com>
Reported-and-tested-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tc/m_action.c