diff options
author | Alexander Aring <aring@mojatatu.com> | 2017-12-20 18:35:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-21 18:32:51 +0100 |
commit | 8d1a77f974ca61d39afa5bf0aeab210525d31475 (patch) | |
tree | 29d15c7f45bec6fa4579b2a5a5ef8fff13f232e4 /net/sched/sch_sfb.c | |
parent | net: sch: api: add extack support in qdisc_get_rtab (diff) | |
download | linux-8d1a77f974ca61d39afa5bf0aeab210525d31475.tar.xz linux-8d1a77f974ca61d39afa5bf0aeab210525d31475.zip |
net: sch: api: add extack support in tcf_block_get
This patch adds extack support for the function tcf_block_get which is
a common used function in the tc subsystem. Callers which are interested
in the receiving error can assign extack to get a more detailed
information why tcf_block_get failed.
Cc: David Ahern <dsahern@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Alexander Aring <aring@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_sfb.c')
-rw-r--r-- | net/sched/sch_sfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_sfb.c b/net/sched/sch_sfb.c index 1a33d6c3ac42..a1a11ded8e4f 100644 --- a/net/sched/sch_sfb.c +++ b/net/sched/sch_sfb.c @@ -556,7 +556,7 @@ static int sfb_init(struct Qdisc *sch, struct nlattr *opt, struct sfb_sched_data *q = qdisc_priv(sch); int err; - err = tcf_block_get(&q->block, &q->filter_list, sch); + err = tcf_block_get(&q->block, &q->filter_list, sch, extack); if (err) return err; |