OSDN Git Service

net: sch: api: add extack support in qdisc_get_rtab
authorAlexander Aring <aring@mojatatu.com>
Wed, 20 Dec 2017 17:35:18 +0000 (12:35 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Dec 2017 17:32:50 +0000 (12:32 -0500)
commite9bc3fa28bae7612f41e3538f241a2f87f629c94
tree5909d2930a9fe800a3da1af973eb465ee7fd28e4
parent653d6fd68d8e5b43d496ca8a1d38331d515a226b
net: sch: api: add extack support in qdisc_get_rtab

This patch adds extack support for the function qdisc_get_rtab 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 qdisc_get_rtab 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>
include/net/pkt_sched.h
net/sched/act_police.c
net/sched/sch_api.c
net/sched/sch_cbq.c
net/sched/sch_htb.c
net/sched/sch_tbf.c