As agreed some time ago, this changeset reject unknown tcfa_action values, instead of changing such values under the hood.
A tdc test is included to verify the new behavior. v1 -> v2: - helper is now static and renamed according to act_* convention - updated extack message, according to the new behavior Paolo Abeni (2): net_sched: reject unknown tcfa_action values tc-testing: add test-cases for numeric and invalid control action net/sched/act_api.c | 16 +++++-- .../tc-testing/tc-tests/actions/police.json | 48 +++++++++++++++++++ 2 files changed, 59 insertions(+), 5 deletions(-) -- 2.17.1