diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-08-04 14:28:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-04 11:21:23 -0700 |
commit | 3bcc0cec818fa969fe555b44443347211ed787a3 (patch) | |
tree | dc098e58871f221b46f01c33de9d12a02ae4a5a0 /net/dsa | |
parent | 4ebc1e3cfcd8778e2150bdb799b19e85348b8efa (diff) | |
download | linux-3bcc0cec818fa969fe555b44443347211ed787a3.tar.bz2 |
net: sched: change names of action number helpers to be aligned with the rest
The rest of the helpers are named tcf_exts_*, so change the name of
the action number helpers to be aligned. While at it, change to inline
functions.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
-rw-r--r-- | net/dsa/slave.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c index e196562035b1..83252e8426d7 100644 --- a/net/dsa/slave.c +++ b/net/dsa/slave.c @@ -779,7 +779,7 @@ static int dsa_slave_add_cls_matchall(struct net_device *dev, if (!ds->ops->port_mirror_add) return err; - if (!tc_single_action(cls->exts)) + if (!tcf_exts_has_one_action(cls->exts)) return err; tcf_exts_to_list(cls->exts, &actions); |