Skip to content

net_sched: reject unknown tcfa_action values

Paolo Abeni netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- helper is now static and renamed according to act_* convention
- updated extack message, according to the new behavior

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net_sched: reject unknown tcfa_action valuesnet/sched/act_api.c+11 -51 reply
2/2tc-testing: add test-cases for numeric and invalid control actiontools/testing/selftests/tc-testing/tc-tests/actions/police.json+48 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJiri Pirko
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [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(-)
Signature · 1 line
2.17.1