OSDN Git Service

net_sched: add policy validation for action attributes
authorCong Wang <xiyou.wangcong@gmail.com>
Thu, 19 Sep 2019 01:44:43 +0000 (18:44 -0700)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Sun, 22 Sep 2019 02:33:13 +0000 (19:33 -0700)
commit199ce850ce112315cfc68d42b694bcaa27b097b7
tree3a83807e49733f632444b7fe6bc794e5572ee49c
parent62794fc4fbf52f2209dc094ea255eaef760e7d01
net_sched: add policy validation for action attributes

Similar to commit 8b4c3cdd9dd8
("net: sched: Add policy validation for tc attributes"), we need
to add proper policy validation for TC action attributes too.

Cc: David Ahern <dsahern@gmail.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
net/sched/act_api.c