diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-08-04 14:29:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-04 11:21:24 -0700 |
commit | 978dfd8d14a503d20be1f1e2ae328c3eac675a2d (patch) | |
tree | b3d6e2c408c01b1dcfdc39d5ee4c687489979259 /net/sched/cls_fw.c | |
parent | net: sched: remove check for number of actions in tcf_exts_exec (diff) | |
download | linux-dev-978dfd8d14a503d20be1f1e2ae328c3eac675a2d.tar.xz linux-dev-978dfd8d14a503d20be1f1e2ae328c3eac675a2d.zip |
net: sched: use tcf_exts_has_actions instead of exts->nr_actions
For check in tcf_exts_dump use tcf_exts_has_actions helper instead
of exts->nr_actions for checking if there are any actions present.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions