]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: sch: api: add extack support in tcf_block_get
authorAlexander Aring <aring@mojatatu.com>
Wed, 20 Dec 2017 17:35:19 +0000 (12:35 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Dec 2017 17:32:51 +0000 (12:32 -0500)
commit8d1a77f974ca61d39afa5bf0aeab210525d31475
tree29d15c7f45bec6fa4579b2a5a5ef8fff13f232e4
parente9bc3fa28bae7612f41e3538f241a2f87f629c94
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>
15 files changed:
include/net/pkt_cls.h
net/sched/cls_api.c
net/sched/sch_atm.c
net/sched/sch_cbq.c
net/sched/sch_drr.c
net/sched/sch_dsmark.c
net/sched/sch_fq_codel.c
net/sched/sch_hfsc.c
net/sched/sch_htb.c
net/sched/sch_ingress.c
net/sched/sch_multiq.c
net/sched/sch_prio.c
net/sched/sch_qfq.c
net/sched/sch_sfb.c
net/sched/sch_sfq.c