]> git.baikalelectronics.ru Git - kernel.git/commit
net: sch: api: add extack support in qdisc_alloc
authorAlexander Aring <aring@mojatatu.com>
Wed, 20 Dec 2017 17:35:20 +0000 (12:35 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Dec 2017 17:32:51 +0000 (12:32 -0500)
commitee61e19d9fb1e78261c3531ba3102d3d97ffcad7
treed291b35a0e232ba4314116d8d2333b703a49af3b
parent7cafa8edcc5146efbdd2adb14fea95ce1e7b67d4
net: sch: api: add extack support in qdisc_alloc

This patch adds extack support for the function qdisc_alloc 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_alloc 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/sch_generic.h
net/sched/sch_api.c
net/sched/sch_generic.c