History

net/sched: act_api: add specific EXT_WARN_MSG for tc action

In my previous commit 0349b8779cc9 ("sched: add new attr TCA_EXT_WARN_MSG to report tc extact message") I didn't notice the tc action use different enum with filter. So we can't use TCA_EXT_WARN_MSG directly for tc action. Let's add a TCA_ROOT_EXT_WARN_MSG for tc action specifically and put this param before going to the TCA_ACT_TAB nest.

Hangbin Liu committed 3 years ago

Commit 2f598231 parent 8de2bd02 files · +5 −4Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/rtnetlink.h+1−0
@@ -789,6 +789,7 @@ enum { · 788 unmodified lines
789789 TCA_ROOT_FLAGS,
790790 TCA_ROOT_COUNT,
791791 TCA_ROOT_TIME_DELTA, /* in msecs */
792+ TCA_ROOT_EXT_WARN_MSG,
792793 __TCA_ROOT_MAX,
793794 #define TCA_ROOT_MAX (__TCA_ROOT_MAX - 1)
794795 };