From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Abeni Subject: [PATCH net 0/2] net_sched: reject unknown tcfa_action values Date: Tue, 28 Aug 2018 16:24:45 +0200 Message-ID: Cc: Jamal Hadi Salim , Cong Wang , Jiri Pirko , "David S. Miller" , Davide Caratti To: netdev@vger.kernel.org Return-path: Received: from mx3-rdu2.redhat.com ([66.187.233.73]:33180 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727460AbeH1SRH (ORCPT ); Tue, 28 Aug 2018 14:17:07 -0400 Sender: netdev-owner@vger.kernel.org List-ID: 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. 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 | 14 ++++-- .../tc-testing/tc-tests/actions/police.json | 48 +++++++++++++++++++ 2 files changed, 58 insertions(+), 4 deletions(-) -- 2.17.1