diff options
author | Alexander Aring <aring@mojatatu.com> | 2018-01-18 17:20:54 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-19 21:52:51 +0100 |
commit | 1057c55f6b6cdc4fa3e8e29cfb9061c211e58395 (patch) | |
tree | ee77befe579d0036f510f799678f699563342e1f /net/sched/cls_u32.c | |
parent | net: sched: cls: add extack support for delete callback (diff) | |
download | linux-1057c55f6b6cdc4fa3e8e29cfb9061c211e58395.tar.xz linux-1057c55f6b6cdc4fa3e8e29cfb9061c211e58395.zip |
net: sched: cls: add extack support for tcf_change_indev
This patch adds extack handling for the tcf_change_indev function which
is common used by TC classifier implementations.
Cc: David Ahern <dsahern@gmail.com>
Signed-off-by: Alexander Aring <aring@mojatatu.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | net/sched/cls_u32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_u32.c b/net/sched/cls_u32.c index 7f772da8e627..e8963ed35899 100644 --- a/net/sched/cls_u32.c +++ b/net/sched/cls_u32.c @@ -804,7 +804,7 @@ static int u32_set_parms(struct net *net, struct tcf_proto *tp, #ifdef CONFIG_NET_CLS_IND if (tb[TCA_U32_INDEV]) { int ret; - ret = tcf_change_indev(net, tb[TCA_U32_INDEV]); + ret = tcf_change_indev(net, tb[TCA_U32_INDEV], extack); if (ret < 0) return -EINVAL; n->ifindex = ret; |