summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_dsmark.c
diff options
context:
space:
mode:
authorAlexander Aring <aring@mojatatu.com>2017-12-20 12:35:17 -0500
committerDavid S. Miller <davem@davemloft.net>2017-12-21 12:32:50 -0500
commit653d6fd68d8e5b43d496ca8a1d38331d515a226b (patch)
tree759ecf07543dfd444e165d6f72acb014a3d7d092 /net/sched/sch_dsmark.c
parentcbaacc4e8a394d63bcd707775ca5bb7a51aaabee (diff)
downloadlinux-653d6fd68d8e5b43d496ca8a1d38331d515a226b.tar.gz
linux-653d6fd68d8e5b43d496ca8a1d38331d515a226b.tar.bz2
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_dsmark.c')
-rw-r--r--net/sched/sch_dsmark.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/sch_dsmark.c b/net/sched/sch_dsmark.c
index 5dc5d5216fbb..92a36aa4c713 100644
--- a/net/sched/sch_dsmark.c
+++ b/net/sched/sch_dsmark.c
@@ -61,7 +61,8 @@ static inline int dsmark_valid_index(struct dsmark_qdisc_data *p, u16 index)
/* ------------------------- Class/flow operations ------------------------- */
static int dsmark_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 dsmark_qdisc_data *p = qdisc_priv(sch);