[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1535527298.git.pabeni@redhat.com>
Date: Wed, 29 Aug 2018 10:22:32 +0200
From: Paolo Abeni <pabeni@...hat.com>
To: netdev@...r.kernel.org
Cc: Jamal Hadi Salim <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Jiri Pirko <jiri@...nulli.us>,
"David S . Miller" <davem@...emloft.net>,
Davide Caratti <dcaratti@...hat.com>,
Lucas Bates <lucasb@...atatu.com>
Subject: [PATCH net v2 0/2] net_sched: reject unknown tcfa_action values
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
Powered by blists - more mailing lists