summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_atm.c
diff options
context:
space:
mode:
authorAlexander Aring2017-12-20 18:35:17 +0100
committerDavid S. Miller2017-12-21 18:32:50 +0100
commit653d6fd68d8e5b43d496ca8a1d38331d515a226b (patch)
tree759ecf07543dfd444e165d6f72acb014a3d7d092 /net/sched/sch_atm.c
parentnet: sched: sch: add extack for block callback (diff)
downloadkernel-qcow2-linux-653d6fd68d8e5b43d496ca8a1d38331d515a226b.tar.gz
kernel-qcow2-linux-653d6fd68d8e5b43d496ca8a1d38331d515a226b.tar.xz
kernel-qcow2-linux-653d6fd68d8e5b43d496ca8a1d38331d515a226b.zip
net: sched: sch: add extack for graft callback
This patch adds extack support for graft callback to prepare per-qdisc specific changes for extack. 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_atm.c')
-rw-r--r--net/sched/sch_atm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/sch_atm.c b/net/sched/sch_atm.c
index b606a75af333..8972ab72cda5 100644
--- a/net/sched/sch_atm.c
+++ b/net/sched/sch_atm.c
@@ -82,7 +82,8 @@ static inline struct atm_flow_data *lookup_flow(struct Qdisc *sch, u32 classid)
}
static int atm_tc_graft(struct Qdisc *sch, unsigned long arg,
- struct Qdisc *new, struct Qdisc **old)
+ struct Qdisc *new, struct Qdisc **old,
+ struct netlink_ext_ack *extack)
{
struct atm_qdisc_data *p = qdisc_priv(sch);
struct atm_flow_data *flow = (struct atm_flow_data *)arg;