netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] net_sched: reject unknown tcfa_action values
@ 2018-08-28 14:24 Paolo Abeni
  2018-08-28 14:24 ` [PATCH net 1/2] " Paolo Abeni
  2018-08-28 14:24 ` [PATCH net 2/2] tc-testing: add test-cases for numeric and invalid control action Paolo Abeni
  0 siblings, 2 replies; 4+ messages in thread
From: Paolo Abeni @ 2018-08-28 14:24 UTC (permalink / raw)
  To: netdev
  Cc: Jamal Hadi Salim, Cong Wang, Jiri Pirko, David S. Miller,
	Davide Caratti

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-28 20:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-28 14:24 [PATCH net 0/2] net_sched: reject unknown tcfa_action values Paolo Abeni
2018-08-28 14:24 ` [PATCH net 1/2] " Paolo Abeni
2018-08-28 16:59   ` Cong Wang
2018-08-28 14:24 ` [PATCH net 2/2] tc-testing: add test-cases for numeric and invalid control action Paolo Abeni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).